The HRCW Kconfig migration misspelled ARCH_MPC8360 as ARCH_MPV8360 in
the system PLL multiplication-factor dependencies.  Since the latter
symbol does not exist, factors 7:1 through 15:1 are not available for
MPC8360 and factor 16:1 is unreachable altogether.

Use the actual architecture symbol so these choices can provide the
SYSTEM_PLL_FACTOR value used to assemble the hardware reset
configuration word.

Fixes: 21c1502a4a81 ("mpc83xx: Kconfig: Migrate HRCW to Kconfig")
Signed-off-by: Pengpeng Hou <[email protected]>
---
Testing:
- Generated kmeter1_defconfig, selected SYSTEM_PLL_FACTOR_7_1, ran
  olddefconfig, and verified that SYSTEM_PLL_FACTOR resolves to 7.

 arch/powerpc/cpu/mpc83xx/hrcw/Kconfig | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/powerpc/cpu/mpc83xx/hrcw/Kconfig 
b/arch/powerpc/cpu/mpc83xx/hrcw/Kconfig
index 44f66cd52..0fc3b7765 100644
--- a/arch/powerpc/cpu/mpc83xx/hrcw/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/hrcw/Kconfig
@@ -67,43 +67,43 @@ config SYSTEM_PLL_FACTOR_6_1
        bool "6 : 1"
 
 config SYSTEM_PLL_FACTOR_7_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "7 : 1"
 
 config SYSTEM_PLL_FACTOR_8_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "8 : 1"
 
 config SYSTEM_PLL_FACTOR_9_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "9 : 1"
 
 config SYSTEM_PLL_FACTOR_10_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "10 : 1"
 
 config SYSTEM_PLL_FACTOR_11_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "11 : 1"
 
 config SYSTEM_PLL_FACTOR_12_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "12 : 1"
 
 config SYSTEM_PLL_FACTOR_13_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "13 : 1"
 
 config SYSTEM_PLL_FACTOR_14_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "14 : 1"
 
 config SYSTEM_PLL_FACTOR_15_1
-       depends on ARCH_MPV8360 || ARCH_MPC837X
+       depends on ARCH_MPC8360 || ARCH_MPC837X
        bool "15 : 1"
 
 config SYSTEM_PLL_FACTOR_16_1
-       depends on ARCH_MPV8360
+       depends on ARCH_MPC8360
        bool "16 : 1"
 
 endchoice

Reply via email to