diff options
author | Heiko Stuebner <heiko.stuebner@theobroma-systems.com> | 2020-01-17 23:37:09 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2020-02-19 11:45:38 +0300 |
commit | 552e7cc61e5d75fffa2f6486136eae01f5c21a69 (patch) | |
tree | 006b855b02fdbfdea3b982c914a74171eb1c5ff0 /arch/arm/mach-rockchip/spl.c | |
parent | dfa64707da22d816c8e43141f7aaaf3a3078cd06 (diff) | |
download | u-boot-552e7cc61e5d75fffa2f6486136eae01f5c21a69.tar.xz |
rockchip: make the global board_fit_config_name_match __weak
The core Rockchip spl code contains a default board_fit_config_name_match
implementation doing nothing. Individual boards may want to handle this
differently, so add a __weak atribute to make it possible to override
this function in other places.
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/mach-rockchip/spl.c')
-rw-r--r-- | arch/arm/mach-rockchip/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/spl.c b/arch/arm/mach-rockchip/spl.c index 7d0e6fa1af..48ab0e60c6 100644 --- a/arch/arm/mach-rockchip/spl.c +++ b/arch/arm/mach-rockchip/spl.c @@ -147,7 +147,7 @@ void board_init_f(ulong dummy) } #ifdef CONFIG_SPL_LOAD_FIT -int board_fit_config_name_match(const char *name) +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); |