[U-Boot] [RFC 06/17] arm: imx: Add board_fit_config_name_match to support FIT in SPL

Abel Vesa abel.vesa at nxp.com
Wed Jan 16 14:03:29 UTC 2019


This function is necessary to enable FIT support in SPL.
Doesn't really do anything.

Signed-off-by: Abel Vesa <abel.vesa at nxp.com>
---
 arch/arm/mach-imx/spl.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 397d6d4..2e770c0 100644
--- a/arch/arm/mach-imx/spl.c
+++ b/arch/arm/mach-imx/spl.c
@@ -276,6 +276,16 @@ void board_spl_fit_post_load(ulong load_addr, size_t length)
 
 #endif
 
+#ifdef CONFIG_SPL_LOAD_FIT
+int board_fit_config_name_match(const char *name)
+{
+	/* Just empty function now - can't decide what to choose */
+	debug("%s: %s\n", __func__, name);
+
+	return 0;
+}
+#endif
+
 #if defined(CONFIG_MX6) && defined(CONFIG_SPL_OS_BOOT)
 int dram_init_banksize(void)
 {
-- 
2.7.4



More information about the U-Boot mailing list