mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
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>
This commit is contained in:
parent
5944bd9a25
commit
706afa46c7
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue