[PATCH] arm: imx: Fix incorrect return value
Ye Li
ye.li at nxp.com
Thu Mar 28 11:50:55 CET 2024
The spl_spi_get_uboot_offs weak function is defined unsigned int.
Signed-off-by: Ye Li <ye.li at nxp.com>
---
arch/arm/mach-imx/image-container.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/image-container.c b/arch/arm/mach-imx/image-container.c
index c9455fe..35da0ae 100644
--- a/arch/arm/mach-imx/image-container.c
+++ b/arch/arm/mach-imx/image-container.c
@@ -262,7 +262,7 @@ static int get_imageset_end(void *dev, int dev_type)
}
#ifdef CONFIG_SPL_SPI_LOAD
-unsigned long spl_spi_get_uboot_offs(struct spi_flash *flash)
+unsigned int spl_spi_get_uboot_offs(struct spi_flash *flash)
{
int end;
--
2.7.4
More information about the U-Boot
mailing list