From: Jagan Teki Date: Tue, 21 Jul 2020 15:06:00 +0000 (+0530) Subject: rockchip: rk3399: Add weak led_setup() X-Git-Tag: v2025.01-rc5-pxa1908~2299^2~17 X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=500d1e7749b540b739a7daaa3693ad0497608286;p=u-boot.git rockchip: rk3399: Add weak led_setup() Add weak led_setup() so that board which has an uncommon led setup code that can make use of custom implementation. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach-rockchip/rk3399/rk3399.c index 4fda93b152..c643483971 100644 --- a/arch/arm/mach-rockchip/rk3399/rk3399.c +++ b/arch/arm/mach-rockchip/rk3399/rk3399.c @@ -241,8 +241,14 @@ static void rk3399_force_power_on_reset(void) } #endif +void __weak led_setup(void) +{ +} + void spl_board_init(void) { + led_setup(); + #if defined(SPL_GPIO_SUPPORT) struct rockchip_cru *cru = rockchip_get_cru();