mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 17:14:21 +00:00
feat(stm32mp1): call pmic_voltages_init() in platform init
The nominal voltage for VDDCPU when Cortex-A7 runs at 650MHz is 1.25V on STM32MP13. VDDCORE should be set at 1.25V as well. This is necessary, as the PMIC values in its NVMEM are 1.2V. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I3c24fe4cd68c7bf143cf9318ab38a15d6d41b5d2
This commit is contained in:
parent
5278ec3faf
commit
ffd1b88922
1 changed files with 4 additions and 0 deletions
|
@ -348,6 +348,10 @@ skip_console_init:
|
|||
|
||||
if (dt_pmic_status() > 0) {
|
||||
initialize_pmic();
|
||||
if (pmic_voltages_init() != 0) {
|
||||
ERROR("PMIC voltages init failed\n");
|
||||
panic();
|
||||
}
|
||||
print_pmic_info_and_debug();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue