mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00: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:
parent
6a9de676f5
commit
6cd789c7fd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue