Skip to content

Commit 455481f

Browse files
committed
MIPS: Remove TX39XX support
No (active) developer owns this hardware, so let's remove Linux support. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
1 parent fbb1d4b commit 455481f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+18
-2212
lines changed

arch/mips/Kbuild.platforms

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ platform-$(CONFIG_SIBYTE_SB1250) += sibyte/
3232
platform-$(CONFIG_SIBYTE_BCM1x55) += sibyte/
3333
platform-$(CONFIG_SIBYTE_BCM1x80) += sibyte/
3434
platform-$(CONFIG_SNI_RM) += sni/
35-
platform-$(CONFIG_MACH_TX39XX) += txx9/
3635
platform-$(CONFIG_MACH_TX49XX) += txx9/
3736
platform-$(CONFIG_MACH_VR41XX) += vr41xx/
3837

arch/mips/Kconfig

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -927,9 +927,6 @@ config SNI_RM
927927
Technology and now in turn merged with Fujitsu. Say Y here to
928928
support this machine type.
929929

930-
config MACH_TX39XX
931-
bool "Toshiba TX39 series based machines"
932-
933930
config MACH_TX49XX
934931
bool "Toshiba TX49 series based machines"
935932
select WAR_TX49XX_ICACHE_INDEX_INV
@@ -1584,12 +1581,6 @@ config CPU_R3000
15841581
might be a safe bet. If the resulting kernel does not work,
15851582
try to recompile with R3000.
15861583

1587-
config CPU_TX39XX
1588-
bool "R39XX"
1589-
depends on SYS_HAS_CPU_TX39XX
1590-
select CPU_SUPPORTS_32BIT_KERNEL
1591-
select CPU_R3K_TLB
1592-
15931584
config CPU_VR41XX
15941585
bool "R41xx"
15951586
depends on SYS_HAS_CPU_VR41XX
@@ -1916,9 +1907,6 @@ config SYS_HAS_CPU_P5600
19161907
config SYS_HAS_CPU_R3000
19171908
bool
19181909

1919-
config SYS_HAS_CPU_TX39XX
1920-
bool
1921-
19221910
config SYS_HAS_CPU_VR41XX
19231911
bool
19241912

@@ -2149,7 +2137,7 @@ config PAGE_SIZE_8KB
21492137

21502138
config PAGE_SIZE_16KB
21512139
bool "16kB"
2152-
depends on !CPU_R3000 && !CPU_TX39XX
2140+
depends on !CPU_R3000
21532141
help
21542142
Using 16kB page size will result in higher performance kernel at
21552143
the price of higher memory consumption. This option is available on
@@ -2168,7 +2156,7 @@ config PAGE_SIZE_32KB
21682156

21692157
config PAGE_SIZE_64KB
21702158
bool "64kB"
2171-
depends on !CPU_R3000 && !CPU_TX39XX
2159+
depends on !CPU_R3000
21722160
help
21732161
Using 64kB page size will result in higher performance kernel at
21742162
the price of higher memory consumption. This option is available on
@@ -2236,7 +2224,7 @@ config CPU_HAS_PREFETCH
22362224

22372225
config CPU_GENERIC_DUMP_TLB
22382226
bool
2239-
default y if !(CPU_R3000 || CPU_TX39XX)
2227+
default y if !CPU_R3000
22402228

22412229
config MIPS_FP_SUPPORT
22422230
bool "Floating Point support" if EXPERT
@@ -2256,7 +2244,7 @@ config MIPS_FP_SUPPORT
22562244
config CPU_R2300_FPU
22572245
bool
22582246
depends on MIPS_FP_SUPPORT
2259-
default y if CPU_R3000 || CPU_TX39XX
2247+
default y if CPU_R3000
22602248

22612249
config CPU_R3K_TLB
22622250
bool
@@ -2575,13 +2563,13 @@ config CPU_R4X00_BUGS64
25752563

25762564
config MIPS_ASID_SHIFT
25772565
int
2578-
default 6 if CPU_R3000 || CPU_TX39XX
2566+
default 6 if CPU_R3000
25792567
default 0
25802568

25812569
config MIPS_ASID_BITS
25822570
int
25832571
default 0 if MIPS_ASID_BITS_VARIABLE
2584-
default 6 if CPU_R3000 || CPU_TX39XX
2572+
default 6 if CPU_R3000
25852573
default 8
25862574

25872575
config MIPS_ASID_BITS_VARIABLE

arch/mips/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ cflags-y += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,)
158158
# CPU-dependent compiler/assembler options for optimization.
159159
#
160160
cflags-$(CONFIG_CPU_R3000) += -march=r3000
161-
cflags-$(CONFIG_CPU_TX39XX) += -march=r3900
162161
cflags-$(CONFIG_CPU_R4300) += -march=r4300 -Wa,--trap
163162
cflags-$(CONFIG_CPU_VR41XX) += -march=r4100 -Wa,--trap
164163
cflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap

arch/mips/configs/jmr3927_defconfig

Lines changed: 0 additions & 50 deletions
This file was deleted.

arch/mips/include/asm/cpu-features.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@
120120
#ifndef cpu_has_4k_cache
121121
#define cpu_has_4k_cache __isa_ge_or_opt(1, MIPS_CPU_4K_CACHE)
122122
#endif
123-
#ifndef cpu_has_tx39_cache
124-
#define cpu_has_tx39_cache __opt(MIPS_CPU_TX39_CACHE)
125-
#endif
126123
#ifndef cpu_has_octeon_cache
127124
#define cpu_has_octeon_cache 0
128125
#endif

arch/mips/include/asm/cpu-type.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@ static inline int __pure __get_cpu_type(const int cpu_type)
105105
case CPU_R3081E:
106106
#endif
107107

108-
#ifdef CONFIG_SYS_HAS_CPU_TX39XX
109-
case CPU_TX3912:
110-
case CPU_TX3922:
111-
case CPU_TX3927:
112-
#endif
113-
114108
#ifdef CONFIG_SYS_HAS_CPU_VR41XX
115109
case CPU_VR41XX:
116110
case CPU_VR4111:

arch/mips/include/asm/cpu.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,6 @@ enum cpu_type_enum {
309309
CPU_VR4122, CPU_VR4131, CPU_VR4133, CPU_VR4181, CPU_VR4181A, CPU_RM7000,
310310
CPU_SR71000, CPU_TX49XX,
311311

312-
/*
313-
* TX3900 class processors
314-
*/
315-
CPU_TX3912, CPU_TX3922, CPU_TX3927,
316-
317312
/*
318313
* MIPS32 class processors
319314
*/
@@ -367,7 +362,6 @@ enum cpu_type_enum {
367362
#define MIPS_CPU_4KEX BIT_ULL( 1) /* "R4K" exception model */
368363
#define MIPS_CPU_3K_CACHE BIT_ULL( 2) /* R3000-style caches */
369364
#define MIPS_CPU_4K_CACHE BIT_ULL( 3) /* R4000-style caches */
370-
#define MIPS_CPU_TX39_CACHE BIT_ULL( 4) /* TX3900-style caches */
371365
#define MIPS_CPU_FPU BIT_ULL( 5) /* CPU has FPU */
372366
#define MIPS_CPU_32FPR BIT_ULL( 6) /* 32 dbl. prec. FP registers */
373367
#define MIPS_CPU_COUNTER BIT_ULL( 7) /* Cycle count/compare */

arch/mips/include/asm/isadep.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#ifndef __ASM_ISADEP_H
1111
#define __ASM_ISADEP_H
1212

13-
#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
13+
#if defined(CONFIG_CPU_R3000)
1414
/*
1515
* R2000 or R3000
1616
*/

arch/mips/include/asm/mach-ath25/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#define cpu_has_4kex 1
1919
#define cpu_has_3k_cache 0
2020
#define cpu_has_4k_cache 1
21-
#define cpu_has_tx39_cache 0
2221
#define cpu_has_sb1_cache 0
2322
#define cpu_has_fpu 0
2423
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#define cpu_has_4kex 1
1717
#define cpu_has_3k_cache 0
1818
#define cpu_has_4k_cache 1
19-
#define cpu_has_tx39_cache 0
2019
#define cpu_has_sb1_cache 0
2120
#define cpu_has_fpu 0
2221
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#define cpu_has_4kex 1
2222
#define cpu_has_3k_cache 0
2323
#define cpu_has_4k_cache 1
24-
#define cpu_has_tx39_cache 0
2524
#define cpu_has_fpu 0
2625
#define cpu_has_32fpr 0
2726
#define cpu_has_counter 1

arch/mips/include/asm/mach-bcm47xx/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#define cpu_has_4kex 1
77
#define cpu_has_3k_cache 0
88
#define cpu_has_4k_cache 1
9-
#define cpu_has_tx39_cache 0
109
#define cpu_has_fpu 0
1110
#define cpu_has_32fpr 0
1211
#define cpu_has_counter 1

arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#define cpu_has_4kex 1
2222
#define cpu_has_3k_cache 0
2323
#define cpu_has_4k_cache 0
24-
#define cpu_has_tx39_cache 0
2524
#define cpu_has_counter 1
2625
#define cpu_has_watch 1
2726
#define cpu_has_divec 1

arch/mips/include/asm/mach-cobalt/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#define cpu_has_4kex 1
1414
#define cpu_has_3k_cache 0
1515
#define cpu_has_4k_cache 1
16-
#define cpu_has_tx39_cache 0
1716
#define cpu_has_32fpr 1
1817
#define cpu_has_counter 1
1918
#define cpu_has_watch 0

arch/mips/include/asm/mach-dec/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#define cpu_has_rixiex 0
1818
#define cpu_has_maar 0
1919
#define cpu_has_rw_llb 0
20-
#define cpu_has_tx39_cache 0
2120
#define cpu_has_divec 0
2221
#define cpu_has_prefetch 0
2322
#define cpu_has_mcheck 0

arch/mips/include/asm/mach-ingenic/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define cpu_has_4kex 1
1212
#define cpu_has_3k_cache 0
1313
#define cpu_has_4k_cache 1
14-
#define cpu_has_tx39_cache 0
1514
#define cpu_has_counter 0
1615
#define cpu_has_watch 1
1716
#define cpu_has_divec 1

arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#define cpu_has_4kex 1
2626
#define cpu_has_3k_cache 0
2727
#define cpu_has_4k_cache 1
28-
#define cpu_has_tx39_cache 0
2928
#define cpu_has_fpu 1
3029
#define cpu_has_nofpuex 0
3130
#define cpu_has_32fpr 1

arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#define cpu_has_4kex 1
2929
#define cpu_has_3k_cache 0
3030
#define cpu_has_4k_cache 1
31-
#define cpu_has_tx39_cache 0
3231
#define cpu_has_fpu 1
3332
#define cpu_has_nofpuex 0
3433
#define cpu_has_32fpr 1

arch/mips/include/asm/mach-lantiq/falcon/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#define cpu_has_4kex 1
1616
#define cpu_has_3k_cache 0
1717
#define cpu_has_4k_cache 1
18-
#define cpu_has_tx39_cache 0
1918
#define cpu_has_sb1_cache 0
2019
#define cpu_has_fpu 0
2120
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-loongson2ef/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#define cpu_has_mipsmt 0
3535
#define cpu_has_smartmips 0
3636
#define cpu_has_tlb 1
37-
#define cpu_has_tx39_cache 0
3837
#define cpu_has_vce 0
3938
#define cpu_has_veic 0
4039
#define cpu_has_vint 0

arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
#define cpu_has_mipsmt 0
3737
#define cpu_has_smartmips 0
3838
#define cpu_has_tlb 1
39-
#define cpu_has_tx39_cache 0
4039
#define cpu_has_vce 0
4140
#define cpu_has_veic 0
4241
#define cpu_has_vint 0

arch/mips/include/asm/mach-ralink/mt7620/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#define cpu_has_4kex 1
1717
#define cpu_has_3k_cache 0
1818
#define cpu_has_4k_cache 1
19-
#define cpu_has_tx39_cache 0
2019
#define cpu_has_sb1_cache 0
2120
#define cpu_has_fpu 0
2221
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#define cpu_has_4kex 1
1818
#define cpu_has_3k_cache 0
1919
#define cpu_has_4k_cache 1
20-
#define cpu_has_tx39_cache 0
2120
#define cpu_has_sb1_cache 0
2221
#define cpu_has_fpu 0
2322
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#define cpu_has_4kex 1
1717
#define cpu_has_3k_cache 0
1818
#define cpu_has_4k_cache 1
19-
#define cpu_has_tx39_cache 0
2019
#define cpu_has_sb1_cache 0
2120
#define cpu_has_fpu 0
2221
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#define cpu_has_4kex 1
1717
#define cpu_has_3k_cache 0
1818
#define cpu_has_4k_cache 1
19-
#define cpu_has_tx39_cache 0
2019
#define cpu_has_sb1_cache 0
2120
#define cpu_has_fpu 0
2221
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#define cpu_has_4kex 1
1616
#define cpu_has_3k_cache 0
1717
#define cpu_has_4k_cache 1
18-
#define cpu_has_tx39_cache 0
1918
#define cpu_has_sb1_cache 0
2019
#define cpu_has_fpu 0
2120
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-rc32434/cpu-feature-overrides.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#define cpu_has_4kex 1
1919
#define cpu_has_3k_cache 0
2020
#define cpu_has_4k_cache 1
21-
#define cpu_has_tx39_cache 0
2221
#define cpu_has_sb1_cache 0
2322
#define cpu_has_fpu 0
2423
#define cpu_has_32fpr 0

arch/mips/include/asm/mach-tx39xx/ioremap.h

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)