]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: layerscape: fix SPL multi DTB loading
authorMichael Walle <michael@walle.cc>
Sun, 24 Nov 2019 20:13:21 +0000 (21:13 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 26 Dec 2019 10:30:20 +0000 (16:00 +0530)
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>
arch/arm/cpu/armv8/fsl-layerscape/spl.c

index 58a39e112339f20e2e5e2e62f1bc804866f4aeb7..ed3a6056637543c6d6ed5f122ed5d294078dae57 100644 (file)
@@ -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);