mpc83xx: Fix MPC837X cache way-lock dependencies
PATCH 1/1 mpc83xx: Fix MPC837X cache way-lock dependencies
The HID Kconfig migration retained ARCH_MPC8379 in the cache way-lock conditions, but MPC837x processors are represented by ARCH_MPC837X. ARCH_MPC8379 is undefined, so the additional instruction and data cache way-lock choices are hidden on the MPC837XERDB target.
Use the architecture symbol selected by the target so the HID2_IWLCK and HID2_DWLCK values can cover the remaining cache ways.
---
Testing:
- Generated MPC837XERDB_defconfig, selected instruction and data way 3, ran olddefconfig, and verified the derived 0x8000 and 0x80 values.
arch/powerpc/cpu/mpc83xx/hid/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/cpu/mpc83xx/hid/Kconfig +2 -2
@@ -434,7 +434,7 @@ config HID2_IWLCK_1 config HID2_IWLCK_2 bool "Way 0 through 2 locked" -if ARCH_MPC8360 || ARCH_MPC8379 +if ARCH_MPC8360 || ARCH_MPC837X config HID2_IWLCK_3 bool "Way 0 through 3 locked"
@@ -470,7 +470,7 @@ config HID2_DWLCK_1 config HID2_DWLCK_2 bool "Way 0 through 2 locked" -if ARCH_MPC8360 || ARCH_MPC8379 +if ARCH_MPC8360 || ARCH_MPC837X config HID2_DWLCK_3 bool "Way 0 through 3 locked"
Quoted 9 lines · Pengpeng Hou
The HID
Kconfigmigration retainedARCH_MPC8379in the cache way-lock conditions, but MPC837x processors are represented byARCH_MPC837X.ARCH_MPC8379is undefined, so the additional instruction and data cache way-lock choices are hidden on the MPC837XERDB target.Use the architecture symbol selected by the target so the
HID2_IWLCKandHID2_DWLCKvalues can cover the remaining cache ways.[...]
Applied to u-boot/next, thanks!
[1/1] mpc83xx: Fix MPC837X cache way-lock dependencies
commit: 8c6c54c9e767ecc0443742b92e25120414562123
Signature · 1 line
Tom