diff options
author | Alexander Kochetkov <al.kochet@gmail.com> | 2018-02-26 15:37:42 +0300 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2018-07-21 01:55:25 +0200 |
commit | 706afa46c730e84119c767e27fd5808bb288a0d1 (patch) | |
tree | d12b412b02231dbad0a353e24d531c416979a9ed /arch | |
parent | 5944bd9a25291560405e5d86612a75a6791acf23 (diff) | |
download | u-boot-706afa46c730e84119c767e27fd5808bb288a0d1.tar.gz u-boot-706afa46c730e84119c767e27fd5808bb288a0d1.tar.xz u-boot-706afa46c730e84119c767e27fd5808bb288a0d1.zip |
rockchip: rk3188: add rk_board_late_init() hook
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-rockchip/rk3188-board.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk3188-board.c b/arch/arm/mach-rockchip/rk3188-board.c index 0aaa959d3c..8853e4a58e 100644 --- a/arch/arm/mach-rockchip/rk3188-board.c +++ b/arch/arm/mach-rockchip/rk3188-board.c @@ -17,6 +17,11 @@ #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) |