]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: fat: Add option to disable DMA alignment
authorSean Anderson <seanga2@gmail.com>
Wed, 8 Nov 2023 16:48:58 +0000 (11:48 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 18:49:14 +0000 (13:49 -0500)
commit54a8d845be4f236a5eb7c93d927ff16cb3efb5fe
tree7138fe8610ed51df94cc27753e9d09b5379ad7a5
parent14509a28aa20808875cc934eaf62f439345e6db6
spl: fat: Add option to disable DMA alignment

If we don't DMA-align buffers we pass to FAT, it will align them itself.
This behaviour likely should be deprecated in favor of
CONFIG_BOUNCE_BUFFER, but that's a task for another series. For the
meantime, don't bother aligning the buffer unless we had been doing so in
the past.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/Kconfig
common/spl/spl_blk_fs.c
common/spl/spl_fat.c