]> git.baikalelectronics.ru Git - uboot.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)
commit99b4e955678eaa410fa91f2122b4c00642db6e2a
treeaa22d1365631b15a64d8e8459ddd8371b8079521
parent6c4cef059d48e0b7ca08092c18039825ae3ef4ef
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