powerpc: mpc85xx: Set default SYS_IMMR value for P1/P2 CPUs
authorPali Rohár <pali@kernel.org>
Mon, 2 May 2022 16:29:25 +0000 (18:29 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 20 Jun 2022 01:18:26 +0000 (09:18 +0800)
This reduce usage of per-board custom settings.

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

index 12de8a1..b396263 100644 (file)
@@ -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