mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 15:01:27 +02:00
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>
This commit is contained in:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user