git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab5c50
)
rockchip: rk3399: Add weak led_setup()
author
Jagan Teki
<jagan@amarulasolutions.com>
Tue, 21 Jul 2020 15:06:00 +0000
(20:36 +0530)
committer
Kever Yang
<kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:55:13 +0000
(20:55 +0800)
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>
arch/arm/mach-rockchip/rk3399/rk3399.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk3399/rk3399.c
b/arch/arm/mach-rockchip/rk3399/rk3399.c
index
4fda93b
..
c643483
100644
(file)
--- 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();