From afdd2d98c29c443f348fd88198e59b78d50f4e2c Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Wed, 8 Nov 2023 11:48:42 -0500 Subject: 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 Reviewed-by: Simon Glass --- common/spl/spl_ymodem.c | 1 - 1 file changed, 1 deletion(-) (limited to 'common/spl/spl_ymodem.c') diff --git a/common/spl/spl_ymodem.c b/common/spl/spl_ymodem.c index 8616cb3e91..3f92b9b003 100644 --- a/common/spl/spl_ymodem.c +++ b/common/spl/spl_ymodem.c @@ -135,7 +135,6 @@ int spl_ymodem_load_image(struct spl_image_info *spl_image, debug("Found FIT\n"); load.priv = (void *)&info; - load.filename = NULL; load.bl_len = 1; info.buf = buf; info.image_read = BUF_SIZE; -- cgit v1.2.3