mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-16 15:02:16 +01:00
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 <jagan@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
eab5c50a3b
commit
500d1e7749
@ -241,8 +241,14 @@ static void rk3399_force_power_on_reset(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void __weak led_setup(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void spl_board_init(void)
|
void spl_board_init(void)
|
||||||
{
|
{
|
||||||
|
led_setup();
|
||||||
|
|
||||||
#if defined(SPL_GPIO_SUPPORT)
|
#if defined(SPL_GPIO_SUPPORT)
|
||||||
struct rockchip_cru *cru = rockchip_get_cru();
|
struct rockchip_cru *cru = rockchip_get_cru();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user