diff options
author | Sean Anderson <seanga2@gmail.com> | 2023-11-08 11:48:42 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-16 13:49:14 -0500 |
commit | afdd2d98c29c443f348fd88198e59b78d50f4e2c (patch) | |
tree | 7ded72270622c1ecbe340989452ce9763ea6aa16 /test/image | |
parent | b63664be6a3d829639f8635365f22f4e1dd30aa1 (diff) | |
download | u-boot-afdd2d98c29c443f348fd88198e59b78d50f4e2c.tar.gz u-boot-afdd2d98c29c443f348fd88198e59b78d50f4e2c.tar.bz2 u-boot-afdd2d98c29c443f348fd88198e59b78d50f4e2c.zip |
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>
Diffstat (limited to 'test/image')
-rw-r--r-- | test/image/spl_load_os.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/image/spl_load_os.c b/test/image/spl_load_os.c index 794cfad4e7..f46df907c6 100644 --- a/test/image/spl_load_os.c +++ b/test/image/spl_load_os.c @@ -57,7 +57,6 @@ static int spl_test_load(struct unit_test_state *uts) ret = sandbox_find_next_phase(fname, sizeof(fname), true); if (ret) ut_assertf(0, "%s not found, error %d\n", fname, ret); - load.filename = fname; header = spl_get_load_buffer(-sizeof(*header), sizeof(*header)); |