powerpc: Remove CONFIG_POWER3
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jul 2014 02:29:22 +0000 (12:29 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2014 04:10:24 +0000 (14:10 +1000)
Now that we have dropped power3 support we can remove CONFIG_POWER3. The
usage in pgtable_32.c was already dead code as CONFIG_POWER3 was not
selectable on PPC32.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/cputable.h
arch/powerpc/mm/pgtable_32.c
arch/powerpc/platforms/Kconfig.cputype

index ca20cc3ee04d6d6ab045535a8fa5b434c62f44e5..da5f9c417dc75d5ca11de94df71d09424eaf18ba 100644 (file)
@@ -268,8 +268,7 @@ extern const char *powerpc_base_platform;
 #endif
 
 #define CLASSIC_PPC (!defined(CONFIG_8xx) && !defined(CONFIG_4xx) && \
-                    !defined(CONFIG_POWER3) && !defined(CONFIG_POWER4) && \
-                    !defined(CONFIG_BOOKE))
+                    !defined(CONFIG_POWER4) && !defined(CONFIG_BOOKE))
 
 #define CPU_FTRS_PPC601        (CPU_FTR_COMMON | CPU_FTR_601 | \
        CPU_FTR_COHERENT_ICACHE | CPU_FTR_UNIFIED_ID_CACHE)
index 343a87fa78b5eb3ea403c7a4dcf18ef5da7e2b63..cf11342bf519ec27bac1c56ed2072b159b8692a5 100644 (file)
@@ -41,7 +41,7 @@ unsigned long ioremap_base;
 unsigned long ioremap_bot;
 EXPORT_SYMBOL(ioremap_bot);    /* aka VMALLOC_END */
 
-#if defined(CONFIG_6xx) || defined(CONFIG_POWER3)
+#ifdef CONFIG_6xx
 #define HAVE_BATS      1
 #endif
 
index a41bd023647aff48b21da2d8af80760417f879c4..798e6add1cae3f758e38dbd721b255f37be6ce85 100644 (file)
@@ -140,10 +140,6 @@ config 6xx
        depends on PPC32 && PPC_BOOK3S
        select PPC_HAVE_PMU_SUPPORT
 
-config POWER3
-       depends on PPC64 && PPC_BOOK3S
-       def_bool y
-
 config POWER4
        depends on PPC64 && PPC_BOOK3S
        def_bool y