diff options
author | Sean Anderson <sean.anderson@seco.com> | 2021-03-31 21:32:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-14 22:23:01 +0300 |
commit | d442f69399996d426cdc45ce40bcf1e48d9cd8b9 (patch) | |
tree | 62dda82e4db1509b5df7a9e3927936de47efe1ca /arch/arm/mach-rockchip | |
parent | 6795c751098810c3f8489d94d5a7cba430bade6d (diff) | |
download | u-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/mach-rockchip')
-rw-r--r-- | arch/arm/mach-rockchip/spl.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-rockchip/spl.c b/arch/arm/mach-rockchip/spl.c index 4b5c22dc13..02c40fb37e 100644 --- a/arch/arm/mach-rockchip/spl.c +++ b/arch/arm/mach-rockchip/spl.c @@ -151,13 +151,3 @@ void board_init_f(ulong dummy) #endif preloader_console_init(); } - -#ifdef CONFIG_SPL_LOAD_FIT -int __weak 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 |