summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-03-09 11:22:08 -0500
committerTom Rini <[email protected]>2023-03-22 15:22:48 -0400
commit16d82d7bfac87bd3f670bf2388dff6354f8f0eac (patch)
treec6316de639f080c3514cab49979059b6753ad441 /arch
parentf5131e80fc5b6d858fe07f0691d82e8fbe2fd25d (diff)
spl: Add function prototype for spl_mmc_get_uboot_raw_sector
We did not add a prototype for spl_mmc_get_uboot_raw_sector to include/spl.h before, so add and document one now. Correct the incorrect prototype in board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c and ensure that we have spl.h where we define a non-weak spl_mmc_get_uboot_raw_sector as well. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/image-container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/image-container.c b/arch/arm/mach-imx/image-container.c
index 06ee608c4a4..5b059a64292 100644
--- a/arch/arm/mach-imx/image-container.c
+++ b/arch/arm/mach-imx/image-container.c
@@ -10,6 +10,7 @@
#include <asm/io.h>
#include <mmc.h>
#include <spi_flash.h>
+#include <spl.h>
#include <nand.h>
#include <asm/mach-imx/image.h>
#include <asm/arch/sys_proto.h>