Skip to contentSkip to conversation

armv8: layerscape: fix SPL multi DTB loading

PATCH New Michael Walle 1 participant 1 message Nov 24, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: layerscape: fix SPL multi DTB loading

Mark board_fit_config_name_match() as weak so a board can overwrite the empty function.

---
 arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/spl.c +1 -1
index 3f6a5f6a42..0195a2d96c 100644
@@ -128,7 +128,7 @@ int spl_start_uboot(void)
 }
 #endif	/* CONFIG_SPL_OS_BOOT */
 #ifdef CONFIG_SPL_LOAD_FIT
-int board_fit_config_name_match(const char *name)
+__weak 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);
Signature · 1 line
2.20.1