summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2019-08-04 00:21:50 +0200
committerHeiko Stuebner <heiko@sntech.de>2019-08-11 11:31:00 +0200
commit4c33ba24fec2697d3672ab439635b32b19cd8da0 (patch)
tree574add5a19f9eba7725dddd966eec6e6163c3384 /board
parenta542748420ddbd6420515b5148da5bb860c2bfe2 (diff)
hacks
Diffstat (limited to 'board')
-rw-r--r--board/rockchip/evb_px30/evb_px30.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/rockchip/evb_px30/evb_px30.c b/board/rockchip/evb_px30/evb_px30.c
index afc48b91f7..d58e4c8213 100644
--- a/board/rockchip/evb_px30/evb_px30.c
+++ b/board/rockchip/evb_px30/evb_px30.c
@@ -7,8 +7,19 @@
#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;
}