From: Michael Walle Date: Sun, 24 Nov 2019 20:13:21 +0000 (+0100) Subject: armv8: layerscape: fix SPL multi DTB loading X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=055aa33ff9576490fe5d39e693bf3c3a4f8bcd08;p=u-boot.git armv8: layerscape: fix SPL multi DTB loading Mark board_fit_config_name_match() as weak so a board can overwrite the empty function. Signed-off-by: Michael Walle Reviewed-by: Priyanka Jain --- diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c index 58a39e1123..ed3a605663 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c @@ -129,7 +129,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);