Skip to content
Commit 7628bd96 authored by Sascha Silbe's avatar Sascha Silbe Committed by Carles Cufí
Browse files

drivers: clock_control: stm32h7: disable PLL1 before configuring it



If the boot loader already switched the system clock to PLL1 we need
to switch back to HSI first and disable PLL1 before we can configure
PLL1. Otherwise the register writes will simply be ignored and we'll
end up with an inconsistent state.

Most of the code has been recycled from `clock_stm32_ll_common.c`.

Signed-off-by: default avatarSascha Silbe <sascha-pgp@se-silbe.de>
Signed-off-by: default avatarSascha Silbe <sascha-pgp@silbe.org>
parent f444fcaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment