hw/misc/stm32l4x5_rcc: Add write protections to CR register
commit3b551477172801bbfb78bf8f58c512307785fd9e
authorArnaud Minier <arnaud.minier@telecom-paris.fr>
Sun, 3 Mar 2024 14:06:41 +0000 (3 15:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2024 13:22:56 +0000 (5 13:22 +0000)
tree3ec5d62775b4809fd438d564c062c40da7e28ac6
parent9c796d503f9d2ee2f6948964d972a7ef23b62033
hw/misc/stm32l4x5_rcc: Add write protections to CR register

Add write protections for the fields in the CR register.
PLL configuration write protections (among others) have not
been handled yet. This is planned in a future patch set.

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Message-id: 20240303140643.81957-7-arnaud.minier@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/stm32l4x5_rcc.c