hw/arm/stm32l4x5_soc.c: Use the RCC Sysclk
commit60849fe4a79df0834c86aaa6669e1b64feb6150e
authorArnaud Minier <arnaud.minier@telecom-paris.fr>
Sun, 3 Mar 2024 14:06:42 +0000 (3 15:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2024 13:22:56 +0000 (5 13:22 +0000)
treee562d6294377e446ae9aad2b3ef02dca5ac91def
parent3b551477172801bbfb78bf8f58c512307785fd9e
hw/arm/stm32l4x5_soc.c: Use the RCC Sysclk

Now that we can generate reliable clock frequencies from the RCC, remove
the hacky definition of the sysclk in the b_l475e_iot01a initialisation
code and use the correct RCC clock.

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240303140643.81957-8-arnaud.minier@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/b-l475e-iot01a.c
hw/arm/stm32l4x5_soc.c
include/hw/arm/stm32l4x5_soc.h