diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-06-21 00:25:00 +0530 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-06-26 21:11:28 +0800 |
commit | 07586ee4322abca01db52624b925e5218538f259 (patch) | |
tree | 447a59fc507729b1fb268f0d84344551f4235544 /board/rockchip/evb_rk3399 | |
parent | 9f5a9f9ad3f96bd252b0d011ee4b6e89358ca494 (diff) |
rockchip: rk3399: Support common spl_board_init
Support common spl_board_init by moving code from puma
board file into, common rk3399-board-spl.c.
Part of the code has sysreset-gpio, regulators_enable_boot_on
but right now only puma board is using this with relevant
config options rest remains common for all targets.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'board/rockchip/evb_rk3399')
-rw-r--r-- | board/rockchip/evb_rk3399/evb-rk3399.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c b/board/rockchip/evb_rk3399/evb-rk3399.c index 769b5d146f..c600553ff6 100644 --- a/board/rockchip/evb_rk3399/evb-rk3399.c +++ b/board/rockchip/evb_rk3399/evb-rk3399.c @@ -8,7 +8,6 @@ #include <dm/pinctrl.h> #include <asm/arch-rockchip/periph.h> #include <power/regulator.h> -#include <spl.h> int board_init(void) { @@ -64,10 +63,3 @@ int board_init(void) out: return 0; } - -void spl_board_init(void) -{ - preloader_console_init(); - - return; -} |