summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-03-31 21:32:27 +0300
committerTom Rini <trini@konsulko.com>2021-04-14 22:23:01 +0300
commitd442f69399996d426cdc45ce40bcf1e48d9cd8b9 (patch)
tree62dda82e4db1509b5df7a9e3927936de47efe1ca /arch/arm/cpu
parent6795c751098810c3f8489d94d5a7cba430bade6d (diff)
downloadu-boot-d442f69399996d426cdc45ce40bcf1e48d9cd8b9.tar.xz
common: fit: Add weak board_fit_config_name_match
Several architectures had a default board_fit_config_name_match already; this provides a generic weak version. We default to rejecting all configs. This will use the FIT's default config, instead of the first config. This may result in boot failures if there are multiple configurations and the first config is *not* the default. Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/spl.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
index d5131bcf4b..46e8af8ebd 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
@@ -139,13 +139,4 @@ int spl_start_uboot(void)
return 1;
}
#endif /* CONFIG_SPL_OS_BOOT */
-#ifdef CONFIG_SPL_LOAD_FIT
-__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);
-
- return 0;
-}
-#endif
#endif /* CONFIG_SPL_BUILD */