rockchip: make the global board_fit_config_name_match __weak

A patch from »rockchip: make the global board_fit_config_name_match __weak« in state Mainline for u-boot

From: Heiko Stuebner <heiko.stuebner@...> Date: Wed, 25 Dec 2019 01:15:57 +0100

Commit-Message

The core Rockchip spl code contains a default board_fit_config_name_match implementation doing nothing. Individual boards may want to handle this -- 2.24.1

Patch-Comment

Statistics

  • 1 lines added
  • 1 lines removed

Changes

--------------------------------------- ---------------------------------------
this function in other places.
 
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
---
arch/arm/mach-rockchip/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
 
------------------------- arch/arm/mach-rockchip/spl.c -------------------------
index 1c091295b4..7339a789fd 100644
@@ -143,7 +143,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);
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...