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/vamrs | |
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/vamrs')
-rw-r--r-- | board/vamrs/rock960_rk3399/rock960-rk3399.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/board/vamrs/rock960_rk3399/rock960-rk3399.c b/board/vamrs/rock960_rk3399/rock960-rk3399.c index 2eb7120e84..68a127b9ac 100644 --- a/board/vamrs/rock960_rk3399/rock960-rk3399.c +++ b/board/vamrs/rock960_rk3399/rock960-rk3399.c @@ -2,18 +2,3 @@ /* * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> */ - -#include <common.h> -#include <dm.h> -#include <power/regulator.h> - -int board_init(void) -{ - int ret; - - ret = regulators_enable_boot_on(false); - if (ret) - debug("%s: Cannot enable boot on regulator\n", __func__); - - return 0; -} |