diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-07-22 15:02:19 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-29 05:27:48 +0300 |
commit | 920b01388e27798977929d6cd316e3fc8cdad5cc (patch) | |
tree | 0aec11d4bec0210d05e35d6fa6dfc8dd76b89f02 /board/rockchip/evb_rk3399 | |
parent | 54b012fd961816990e7b8f9da3211fe7260c05b3 (diff) | |
download | u-boot-920b01388e27798977929d6cd316e3fc8cdad5cc.tar.xz |
rockchip: rk3399: Migrate to use common board file
Use common board file for board_init() and board_late_init(),
for Rockchip SoCs have very similar process.
Signed-off-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 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c b/board/rockchip/evb_rk3399/evb-rk3399.c index c7e93a358d..b9049abcc7 100644 --- a/board/rockchip/evb_rk3399/evb-rk3399.c +++ b/board/rockchip/evb_rk3399/evb-rk3399.c @@ -5,7 +5,6 @@ #include <common.h> #include <dm.h> -#include <dm/pinctrl.h> #include <asm/arch-rockchip/periph.h> #include <power/regulator.h> @@ -28,16 +27,4 @@ int board_early_init_f(void) out: return 0; } - -int board_init(void) -{ - struct udevice *regulator; - int ret; - - ret = regulators_enable_boot_on(false); - if (ret) - debug("%s: Cannot enable boot on regulator\n", __func__); - - return 0; -} #endif |