rockchip: make the global board_fit_config_name_match __weak
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Fri, 17 Jan 2020 20:37:09 +0000 (21:37 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 19 Feb 2020 08:45:38 +0000 (16:45 +0800)
commit552e7cc61e5d75fffa2f6486136eae01f5c21a69
tree006b855b02fdbfdea3b982c914a74171eb1c5ff0
parentdfa64707da22d816c8e43141f7aaaf3a3078cd06
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>
arch/arm/mach-rockchip/spl.c