All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] rockchip: rk3188: add rk_board_late_init() hook
@ 2018-02-26 12:37 Alexander Kochetkov
  2018-02-26 13:02 ` [U-Boot] Moving the rk_board_late_init() hook to a device-model based implementation Dr. Philipp Tomsich
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Alexander Kochetkov @ 2018-02-26 12:37 UTC (permalink / raw)
  To: u-boot

All other rockchip boards have rk_board_late_init() hook,
so add it to rk3188 boards also.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
---
 arch/arm/mach-rockchip/rk3188-board.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-rockchip/rk3188-board.c b/arch/arm/mach-rockchip/rk3188-board.c
index 916d18f..fc58aeb 100644
--- a/arch/arm/mach-rockchip/rk3188-board.c
+++ b/arch/arm/mach-rockchip/rk3188-board.c
@@ -20,6 +20,11 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+__weak int rk_board_late_init(void)
+{
+	return 0;
+}
+
 int board_late_init(void)
 {
 	struct rk3188_grf *grf;
@@ -35,7 +40,7 @@ int board_late_init(void)
 			NOC_REMAP_MASK << NOC_REMAP_SHIFT);
 	}
 
-	return 0;
+	return rk_board_late_init();
 }
 
 int board_init(void)
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-07-13 10:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-26 12:37 [U-Boot] [PATCH] rockchip: rk3188: add rk_board_late_init() hook Alexander Kochetkov
2018-02-26 13:02 ` [U-Boot] Moving the rk_board_late_init() hook to a device-model based implementation Dr. Philipp Tomsich
2018-03-19 18:09   ` Dr. Philipp Tomsich
2018-03-20 14:03   ` Kever Yang
2018-03-20 14:07     ` Alexander Kochetkov
2018-02-28 19:00 ` [U-Boot] rockchip: rk3188: add rk_board_late_init() hook Philipp Tomsich
2018-02-28 19:00 ` Philipp Tomsich
2018-07-13 10:25 ` Philipp Tomsich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.