projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca351e7
)
stm32mp1: call regulators_enable_boot_on in board_init
author
Patrick Delaunay
<patrick.delaunay@st.com>
Fri, 5 Jul 2019 15:20:09 +0000
(17:20 +0200)
committer
Patrick Delaunay
<patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:18:53 +0000
(11:18 +0200)
U-Boot activates regulators by reading the "regulator-boot-on"
property in DT; it is requested by M4 early Boot feature.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
board/st/stm32mp1/stm32mp1.c
patch
|
blob
|
history
diff --git
a/board/st/stm32mp1/stm32mp1.c
b/board/st/stm32mp1/stm32mp1.c
index 776929350f9b5dca7745307209d5ebb11d392b91..e4d172322011cf77fa299cc0eccf633964724a08 100644
(file)
--- a/
board/st/stm32mp1/stm32mp1.c
+++ b/
board/st/stm32mp1/stm32mp1.c
@@
-515,6
+515,10
@@
int board_init(void)
board_key_check();
+#ifdef CONFIG_DM_REGULATOR
+ regulators_enable_boot_on(_DEBUG);
+#endif
+
sysconf_init();
if (IS_ENABLED(CONFIG_LED))