mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user