diff mbox series

powerpc: mpc85xx: Set default SYS_IMMR value for P1/P2 CPUs

Message ID 20220502162925.10629-1-pali@kernel.org
State Accepted
Commit 39f42fe20a8239c6a878f7fac03e758b2117009e
Delegated to: Peng Fan
Headers show
Series powerpc: mpc85xx: Set default SYS_IMMR value for P1/P2 CPUs | expand

Commit Message

Pali Rohár May 2, 2022, 4:29 p.m. UTC
This reduce usage of per-board custom settings.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 arch/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/arch/Kconfig b/arch/Kconfig
index 7ecb375b6b5a..920dadea5dcc 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -369,6 +369,9 @@  config SYS_IMMR
 	default 0xF0000000 if ARCH_MPC8313
 	default 0xE0000000 if MPC83xx && !ARCH_MPC8313
 	default 0x01000000 if ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
+	default 0xFFE00000 if ARCH_P1010 || ARCH_P1011 || ARCH_P1020 || \
+			      ARCH_P1021 || ARCH_P1024 || ARCH_P1025 || \
+			      ARCH_P2020
 	default SYS_CCSRBAR_DEFAULT
 	help
 	  Address for the Internal Memory-Mapped Registers (IMMR) window used