image-container: Fix incorrect return value

The spl_spi_get_uboot_offs weak function is defined unsigned int.

Signed-off-by: Ye Li <ye.li@nxp.com>
This commit is contained in:
Ye Li 2024-03-28 18:50:55 +08:00 committed by Fabio Estevam
parent 6a9de676f5
commit 6cd789c7fd

View File

@ -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;