]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: stm32mp1: update vddcore in SPL
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 25 May 2020 10:19:47 +0000 (12:19 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 7 Jul 2020 14:01:23 +0000 (16:01 +0200)
commit2f238327b7273656eb7670804fdb16de097b39b9
treeaa22d1365631b15a64d8e8459ddd8371b8079521
parentd1a4b09de6431fbc2f6a9dc53efe8d84cdd31134
board: stm32mp1: update vddcore in SPL

For board using STPMIC1, the vddcore is provided by BUCK1 of STPMIC1
and need to be updated for 800MHz support and only after the clock
tree initialization.

The VDDCORE voltage value is provided by clock driver, saved in global
variable opp_voltage_mv and udpated in SPL board_early_init_f(),
just after clock tree initialization.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
board/dhelectronics/dh_stm32mp1/board.c
board/st/common/stpmic1.c
board/st/common/stpmic1.h
board/st/stm32mp1/spl.c