diff options
| author | Ye Li <[email protected]> | 2024-03-28 18:50:55 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-03-30 15:11:56 -0300 |
| commit | 6cd789c7fd6274b28432caa145e4c857de04c016 (patch) | |
| tree | 0bbe4558095eb199d6ace2d2188db7ad81beb66c | |
| parent | 6a9de676f5c7a3764553588da6976e5cde44164f (diff) | |
image-container: Fix incorrect return value
The spl_spi_get_uboot_offs weak function is defined unsigned int.
Signed-off-by: Ye Li <[email protected]>
| -rw-r--r-- | arch/arm/mach-imx/image-container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/image-container.c b/arch/arm/mach-imx/image-container.c index c9455fe222a..35da0ae0425 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; |
