summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2019-08-12 17:00:05 +0200
committerHeiko Stuebner <heiko@sntech.de>2019-08-12 17:00:05 +0200
commitc3b13bb33f929c7b1301a9734c6e1eb0bf14d99e (patch)
treedf76e0e84dbe811365a83f4357ba20cc8a0d49ea /board
parentaeeadbb4d72475822daecf09ddf2245bf1e7453e (diff)
fixup px30-evb boardcode to use common boards
Diffstat (limited to 'board')
-rw-r--r--board/rockchip/evb_px30/evb_px30.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/board/rockchip/evb_px30/evb_px30.c b/board/rockchip/evb_px30/evb_px30.c
index d58e4c8213..21155ff035 100644
--- a/board/rockchip/evb_px30/evb_px30.c
+++ b/board/rockchip/evb_px30/evb_px30.c
@@ -1,25 +1,5 @@
/*
- * (C) Copyright 2017 Rockchip Electronics Co., Ltd
+ * (C) Copyright 2019 Rockchip Electronics Co., Ltd
*
* SPDX-License-Identifier: GPL-2.0+
*/
-
-#include <common.h>
-#include <dm.h>
-#include <asm/io.h>
-#include <power/regulator.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;
-}