]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Remove filename from spl_load_info
authorSean Anderson <seanga2@gmail.com>
Wed, 8 Nov 2023 16:48:42 +0000 (11:48 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 18:49:14 +0000 (13:49 -0500)
commitafdd2d98c29c443f348fd88198e59b78d50f4e2c
tree7ded72270622c1ecbe340989452ce9763ea6aa16
parentb63664be6a3d829639f8635365f22f4e1dd30aa1
spl: Remove filename from spl_load_info

For filesystems, filename serves the same purpose as priv. However,
spl_load_fit_image also uses it to determine whether to use a DMA-aligned
buffer. This is beneficial for FAT, which uses a bounce-buffer if the
destination is not DMA-aligned. However, this is unnecessary now that
filesystems set bl_len to ARCH_DMA_MINALIGN instead. With this done, we can
remove filename entirely.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-sunxi/spl_spi_sunxi.c
common/spl/spl_blk_fs.c
common/spl/spl_fat.c
common/spl/spl_mmc.c
common/spl/spl_nand.c
common/spl/spl_semihosting.c
common/spl/spl_spi.c
common/spl/spl_ymodem.c
include/spl.h
test/image/spl_load_os.c