From: Ye Li Date: Thu, 28 Mar 2024 10:50:55 +0000 (+0800) Subject: image-container: Fix incorrect return value X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6cd789c7fd6274b28432caa145e4c857de04c016;p=u-boot.git image-container: Fix incorrect return value The spl_spi_get_uboot_offs weak function is defined unsigned int. Signed-off-by: Ye Li --- diff --git a/arch/arm/mach-imx/image-container.c b/arch/arm/mach-imx/image-container.c index c9455fe222..35da0ae042 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;