]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3188: add rk_board_late_init() hook
authorAlexander Kochetkov <al.kochet@gmail.com>
Mon, 26 Feb 2018 12:37:42 +0000 (15:37 +0300)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 20 Jul 2018 23:55:25 +0000 (01:55 +0200)
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>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3188-board.c

index 0aaa959d3c288dc47b6915f3b567c564dbdb55aa..8853e4a58e524a17761eccc76f4e038602efd9f1 100644 (file)
 #include <asm/gpio.h>
 #include <dm/pinctrl.h>
 
+__weak int rk_board_late_init(void)
+{
+       return 0;
+}
+
 int board_late_init(void)
 {
        struct rk3188_grf *grf;
@@ -32,7 +37,7 @@ int board_late_init(void)
                        NOC_REMAP_MASK << NOC_REMAP_SHIFT);
        }
 
-       return 0;
+       return rk_board_late_init();
 }
 
 int board_init(void)