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

Pali Rohár pali at kernel.org
Mon May 2 18:29:25 CEST 2022


This reduce usage of per-board custom settings.

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

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
-- 
2.20.1



More information about the U-Boot mailing list