rockchip: rk3399: Support common spl_board_init
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 20 Jun 2019 18:55:00 +0000 (00:25 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 26 Jun 2019 13:11:28 +0000 (21:11 +0800)
commit07586ee4322abca01db52624b925e5218538f259
tree447a59fc507729b1fb268f0d84344551f4235544
parent9f5a9f9ad3f96bd252b0d011ee4b6e89358ca494
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>
arch/arm/mach-rockchip/rk3399-board-spl.c
board/rockchip/evb_rk3399/evb-rk3399.c
board/theobroma-systems/puma_rk3399/puma-rk3399.c
board/vamrs/rock960_rk3399/rock960-rk3399.c