powerpc: mpc832x: Fix reset word
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 2 Mar 2023 09:48:58 +0000 (10:48 +0100)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 6 Apr 2023 12:50:03 +0000 (14:50 +0200)
According to the reference manual, the Reset Configuration
Word Low Register bits 2-3 must be set to 0b10.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
arch/powerpc/cpu/mpc83xx/hrcw/Kconfig

index b67ccd6..44f66cd 100644 (file)
@@ -539,8 +539,7 @@ config DDR_MC_CLOCK_MODE
 
 config SYSTEM_PLL_VCO_DIV
        int
-       default 0 if ARCH_MPC832X
-       default 2 if ARCH_MPC8313
+       default 2 if ARCH_MPC8313 || ARCH_MPC832X
        default 0 if SYSTEM_PLL_VCO_DIV_2 && !ARCH_MPC8360 && !ARCH_MPC837X
        default 1 if SYSTEM_PLL_VCO_DIV_4 && !ARCH_MPC8360 && !ARCH_MPC837X
        default 2 if SYSTEM_PLL_VCO_DIV_8 && !ARCH_MPC8360 && !ARCH_MPC837X