Skip to content

Commit f0ed73f

Browse files
chleroympe
authored andcommitted
powerpc: Remove PowerPC 601
Powerpc 601 is 25 years old. It is not selected by any defconfig. It requires a lot of special handling as it deviates from the standard 6xx. Retire it. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/00a6948d659e017f8ca63437d1384222c3aede57.1601362098.git.christophe.leroy@csgroup.eu
1 parent d2a5cd8 commit f0ed73f

2 files changed

Lines changed: 2 additions & 24 deletions

File tree

‎arch/powerpc/kernel/cputable.c‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -609,21 +609,6 @@ static struct cpu_spec __initdata cpu_specs[] = {
609609
#endif /* CONFIG_PPC_BOOK3S_64 */
610610

611611
#ifdef CONFIG_PPC32
612-
#ifdef CONFIG_PPC_BOOK3S_601
613-
{ /* 601 */
614-
.pvr_mask = 0xffff0000,
615-
.pvr_value = 0x00010000,
616-
.cpu_name = "601",
617-
.cpu_features = CPU_FTRS_PPC601,
618-
.cpu_user_features = COMMON_USER | PPC_FEATURE_601_INSTR |
619-
PPC_FEATURE_UNIFIED_CACHE | PPC_FEATURE_NO_TB,
620-
.mmu_features = MMU_FTR_HPTE_TABLE,
621-
.icache_bsize = 32,
622-
.dcache_bsize = 32,
623-
.machine_check = machine_check_generic,
624-
.platform = "ppc601",
625-
},
626-
#endif /* CONFIG_PPC_BOOK3S_601 */
627612
#ifdef CONFIG_PPC_BOOK3S_6xx
628613
{ /* 603 */
629614
.pvr_mask = 0xffff0000,

‎arch/powerpc/platforms/Kconfig.cputype‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ choice
2020
depends on PPC32
2121
help
2222
There are five families of 32 bit PowerPC chips supported.
23-
The most common ones are the desktop and server CPUs (601, 603,
23+
The most common ones are the desktop and server CPUs (603,
2424
604, 740, 750, 74xx) CPUs from Freescale and IBM, with their
2525
embedded 512x/52xx/82xx/83xx/86xx counterparts.
2626
The other embedded parts, namely 4xx, 8xx, e200 (55xx) and e500
@@ -30,21 +30,14 @@ choice
3030
If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx.
3131

3232
config PPC_BOOK3S_6xx
33-
bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx except 601"
33+
bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx"
3434
select PPC_BOOK3S_32
3535
select PPC_FPU
3636
select PPC_HAVE_PMU_SUPPORT
3737
select PPC_HAVE_KUEP
3838
select PPC_HAVE_KUAP
3939
select HAVE_ARCH_VMAP_STACK if !ADB_PMU
4040

41-
config PPC_BOOK3S_601
42-
bool "PowerPC 601"
43-
select PPC_BOOK3S_32
44-
select PPC_FPU
45-
select PPC_HAVE_KUAP
46-
select HAVE_ARCH_VMAP_STACK
47-
4841
config PPC_85xx
4942
bool "Freescale 85xx"
5043
select E500

0 commit comments

Comments
 (0)