diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-07-22 20:02:19 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-29 10:27:48 +0800 |
commit | 920b01388e27798977929d6cd316e3fc8cdad5cc (patch) | |
tree | 0aec11d4bec0210d05e35d6fa6dfc8dd76b89f02 /board/theobroma-systems | |
parent | 54b012fd961816990e7b8f9da3211fe7260c05b3 (diff) | |
download | u-boot-920b01388e27798977929d6cd316e3fc8cdad5cc.tar.gz |
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/theobroma-systems')
-rw-r--r-- | board/theobroma-systems/puma_rk3399/puma-rk3399.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c index 251cd2d566..a7e7f022ba 100644 --- a/board/theobroma-systems/puma_rk3399/puma-rk3399.c +++ b/board/theobroma-systems/puma_rk3399/puma-rk3399.c @@ -21,21 +21,6 @@ #include <power/regulator.h> #include <u-boot/sha256.h> -int board_init(void) -{ - int ret; - - /* - * We need to call into regulators_enable_boot_on() again, as the call - * during SPL may have not included all regulators. - */ - ret = regulators_enable_boot_on(false); - if (ret) - debug("%s: Cannot enable boot on regulator\n", __func__); - - return 0; -} - static void setup_macaddr(void) { #if CONFIG_IS_ENABLED(CMD_NET) |