summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2019-11-24 21:13:21 +0100
committerPriyanka Jain <priyanka.jain@nxp.com>2019-12-26 16:00:20 +0530
commit055aa33ff9576490fe5d39e693bf3c3a4f8bcd08 (patch)
tree14c65b99a28fc569b7a923877c79eec2513ba120 /arch
parentd749bf99341a2df58b6138ae6763962a58f8a0d5 (diff)
downloadu-boot-055aa33ff9576490fe5d39e693bf3c3a4f8bcd08.tar.gz
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 <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/spl.c2
1 files changed, 1 insertions, 1 deletions
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);