[PATCH v6 25/25] spl: fat: Add option to disable DMA alignment

Simon Glass sjg at chromium.org
Wed Nov 8 05:24:13 CET 2023


On Sun, 5 Nov 2023 at 19:26, Sean Anderson <seanga2 at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
> Changes in v6:
> - New
>
>  common/spl/Kconfig      | 18 ++++++++++++++++--
>  common/spl/spl_blk_fs.c |  5 ++++-
>  common/spl/spl_fat.c    |  5 ++++-
>  3 files changed, 24 insertions(+), 4 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list