From: Pali Rohár <pali@kernel.org>
Date: Mon, 2 May 2022 16:29:25 +0000 (+0200)
Subject: powerpc: mpc85xx: Set default SYS_IMMR value for P1/P2 CPUs
X-Git-Tag: v2025.01-rc5-pxa1908~1353^2~20^2~11
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B?a=commitdiff_plain;h=39f42fe20a8239c6a878f7fac03e758b2117009e;p=u-boot.git

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

This reduce usage of per-board custom settings.

Signed-off-by: Pali Rohár <pali@kernel.org>
---

diff --git a/arch/Kconfig b/arch/Kconfig
index 12de8a1165..b396263e3b 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -371,6 +371,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