Skip to contentSkip to conversation

MIPS: Remove TX39XX support

PATCH Applied Thomas Bogendoerfer 4 participants 5 messages Feb 22, 2022 – Mar 1, 2022

Subsystems (9)
lore
Share & tools
lore

Thomas Bogendoerfer

author maintainer
#0 lore raw

PATCH 1/1 MIPS: Remove TX39XX support

No (active) developer owns this hardware, so let's remove Linux support.

---
 arch/mips/Kbuild.platforms                    |   1 -
 arch/mips/Kconfig                             |  24 +-
 arch/mips/Makefile                            |   1 -
 arch/mips/configs/jmr3927_defconfig           |  50 ---
 arch/mips/include/asm/cpu-features.h          |   3 -
 arch/mips/include/asm/cpu-type.h              |   6 -
 arch/mips/include/asm/cpu.h                   |   6 -
 arch/mips/include/asm/isadep.h                |   2 +-
 .../asm/mach-ath25/cpu-feature-overrides.h    |   1 -
 .../asm/mach-ath79/cpu-feature-overrides.h    |   1 -
 .../asm/mach-au1x00/cpu-feature-overrides.h   |   1 -
 .../asm/mach-bcm47xx/cpu-feature-overrides.h  |   1 -
 .../cpu-feature-overrides.h                   |   1 -
 .../asm/mach-cobalt/cpu-feature-overrides.h   |   1 -
 .../asm/mach-dec/cpu-feature-overrides.h      |   1 -
 .../asm/mach-ingenic/cpu-feature-overrides.h  |   1 -
 .../asm/mach-ip27/cpu-feature-overrides.h     |   1 -
 .../asm/mach-ip30/cpu-feature-overrides.h     |   1 -
 .../falcon/cpu-feature-overrides.h            |   1 -
 .../mach-loongson2ef/cpu-feature-overrides.h  |   1 -
 .../mach-loongson64/cpu-feature-overrides.h   |   1 -
 .../mt7620/cpu-feature-overrides.h            |   1 -
 .../mt7621/cpu-feature-overrides.h            |   1 -
 .../rt288x/cpu-feature-overrides.h            |   1 -
 .../rt305x/cpu-feature-overrides.h            |   1 -
 .../rt3883/cpu-feature-overrides.h            |   1 -
 .../asm/mach-rc32434/cpu-feature-overrides.h  |   1 -
 arch/mips/include/asm/mach-tx39xx/ioremap.h   |  25 --
 .../include/asm/mach-tx39xx/mangle-port.h     |  24 -
 arch/mips/include/asm/mach-tx39xx/spaces.h    |  17 -
 arch/mips/include/asm/stackframe.h            |   6 +-
 arch/mips/include/asm/txx9/boards.h           |   3 -
 arch/mips/include/asm/txx9/jmr3927.h          | 179 --------
 arch/mips/include/asm/txx9/tx3927.h           | 341 ---------------
 arch/mips/include/asm/txx9irq.h               |   4 -
 arch/mips/include/asm/txx9tmr.h               |   4 -
 arch/mips/include/asm/vermagic.h              |   2 -
 arch/mips/kernel/Makefile                     |   1 -
 arch/mips/kernel/cpu-probe.c                  |  23 -
 arch/mips/kernel/cpu-r3k-probe.c              |  22 -
 arch/mips/kernel/entry.S                      |   2 +-
 arch/mips/kernel/genex.S                      |   4 +-
 arch/mips/kernel/idle.c                       |  10 -
 arch/mips/kernel/irq_txx9.c                   |  13 -
 arch/mips/kernel/proc.c                       |   2 -
 arch/mips/kernel/process.c                    |   2 +-
 arch/mips/lib/Makefile                        |   1 -
 arch/mips/lib/r3k_dump_tlb.c                  |   4 -
 arch/mips/mm/Makefile                         |   1 -
 arch/mips/mm/c-tx39.c                         | 414 ------------------
 arch/mips/mm/cache.c                          |   5 -
 arch/mips/mm/tlb-r3k.c                        |  40 +-
 arch/mips/pci/Makefile                        |   2 -
 arch/mips/pci/fixup-jmr3927.c                 |  79 ----
 arch/mips/pci/ops-tx3927.c                    | 231 ----------
 arch/mips/txx9/Kconfig                        |  18 -
 arch/mips/txx9/Makefile                       |   6 -
 arch/mips/txx9/Platform                       |   3 -
 arch/mips/txx9/generic/Makefile               |   1 -
 arch/mips/txx9/generic/irq_tx3927.c           |  25 --
 arch/mips/txx9/generic/setup.c                |  55 ---
 arch/mips/txx9/generic/setup_tx3927.c         | 136 ------
 arch/mips/txx9/jmr3927/Makefile               |   6 -
 arch/mips/txx9/jmr3927/irq.c                  | 128 ------
 arch/mips/txx9/jmr3927/prom.c                 |  52 ---
 arch/mips/txx9/jmr3927/setup.c                | 223 ----------
 drivers/dma/Kconfig                           |   2 +-
 drivers/watchdog/Kconfig                      |   2 +-
 68 files changed, 18 insertions(+), 2212 deletions(-)
 delete mode 100644 arch/mips/configs/jmr3927_defconfig
 delete mode 100644 arch/mips/include/asm/mach-tx39xx/ioremap.h
 delete mode 100644 arch/mips/include/asm/mach-tx39xx/mangle-port.h
 delete mode 100644 arch/mips/include/asm/mach-tx39xx/spaces.h
 delete mode 100644 arch/mips/include/asm/txx9/jmr3927.h
 delete mode 100644 arch/mips/include/asm/txx9/tx3927.h
 delete mode 100644 arch/mips/mm/c-tx39.c
 delete mode 100644 arch/mips/pci/fixup-jmr3927.c
 delete mode 100644 arch/mips/pci/ops-tx3927.c
 delete mode 100644 arch/mips/txx9/generic/irq_tx3927.c
 delete mode 100644 arch/mips/txx9/generic/setup_tx3927.c
 delete mode 100644 arch/mips/txx9/jmr3927/Makefile
 delete mode 100644 arch/mips/txx9/jmr3927/irq.c
 delete mode 100644 arch/mips/txx9/jmr3927/prom.c
 delete mode 100644 arch/mips/txx9/jmr3927/setup.c
arch/mips/Kbuild.platforms +0 -1
index 30193bcf9caa..1bc4282af064 100644
@@ -32,7 +32,6 @@ platform-$(CONFIG_SIBYTE_SB1250)	+= sibyte/
 platform-$(CONFIG_SIBYTE_BCM1x55)	+= sibyte/
 platform-$(CONFIG_SIBYTE_BCM1x80)	+= sibyte/
 platform-$(CONFIG_SNI_RM)		+= sni/
-platform-$(CONFIG_MACH_TX39XX)		+= txx9/
 platform-$(CONFIG_MACH_TX49XX)		+= txx9/
 platform-$(CONFIG_MACH_VR41XX)		+= vr41xx/
 
arch/mips/Kconfig +6 -18
index f8f11542d044..59dabfd5a129 100644
@@ -927,9 +927,6 @@ config SNI_RM
 	  Technology and now in turn merged with Fujitsu.  Say Y here to
 	  support this machine type.
 
-config MACH_TX39XX
-	bool "Toshiba TX39 series based machines"
-
 config MACH_TX49XX
 	bool "Toshiba TX49 series based machines"
 	select WAR_TX49XX_ICACHE_INDEX_INV
@@ -1584,12 +1581,6 @@ config CPU_R3000
 	  might be a safe bet.  If the resulting kernel does not work,
 	  try to recompile with R3000.
 
-config CPU_TX39XX
-	bool "R39XX"
-	depends on SYS_HAS_CPU_TX39XX
-	select CPU_SUPPORTS_32BIT_KERNEL
-	select CPU_R3K_TLB
-
 config CPU_VR41XX
 	bool "R41xx"
 	depends on SYS_HAS_CPU_VR41XX
@@ -1916,9 +1907,6 @@ config SYS_HAS_CPU_P5600
 config SYS_HAS_CPU_R3000
 	bool
 
-config SYS_HAS_CPU_TX39XX
-	bool
-
 config SYS_HAS_CPU_VR41XX
 	bool
 
@@ -2149,7 +2137,7 @@ config PAGE_SIZE_8KB
 
 config PAGE_SIZE_16KB
 	bool "16kB"
-	depends on !CPU_R3000 && !CPU_TX39XX
+	depends on !CPU_R3000
 	help
 	  Using 16kB page size will result in higher performance kernel at
 	  the price of higher memory consumption.  This option is available on
@@ -2168,7 +2156,7 @@ config PAGE_SIZE_32KB
 
 config PAGE_SIZE_64KB
 	bool "64kB"
-	depends on !CPU_R3000 && !CPU_TX39XX
+	depends on !CPU_R3000
 	help
 	  Using 64kB page size will result in higher performance kernel at
 	  the price of higher memory consumption.  This option is available on
@@ -2236,7 +2224,7 @@ config CPU_HAS_PREFETCH
 
 config CPU_GENERIC_DUMP_TLB
 	bool
-	default y if !(CPU_R3000 || CPU_TX39XX)
+	default y if !CPU_R3000
 
 config MIPS_FP_SUPPORT
 	bool "Floating Point support" if EXPERT
@@ -2256,7 +2244,7 @@ config MIPS_FP_SUPPORT
 config CPU_R2300_FPU
 	bool
 	depends on MIPS_FP_SUPPORT
-	default y if CPU_R3000 || CPU_TX39XX
+	default y if CPU_R3000
 
 config CPU_R3K_TLB
 	bool
@@ -2575,13 +2563,13 @@ config CPU_R4X00_BUGS64
 
 config MIPS_ASID_SHIFT
 	int
-	default 6 if CPU_R3000 || CPU_TX39XX
+	default 6 if CPU_R3000
 	default 0
 
 config MIPS_ASID_BITS
 	int
 	default 0 if MIPS_ASID_BITS_VARIABLE
-	default 6 if CPU_R3000 || CPU_TX39XX
+	default 6 if CPU_R3000
 	default 8
 
 config MIPS_ASID_BITS_VARIABLE
arch/mips/Makefile +0 -1
index e036fc025ccc..47ca5488434a 100644
@@ -158,7 +158,6 @@ cflags-y += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,)
 # CPU-dependent compiler/assembler options for optimization.
 #
 cflags-$(CONFIG_CPU_R3000)	+= -march=r3000
-cflags-$(CONFIG_CPU_TX39XX)	+= -march=r3900
 cflags-$(CONFIG_CPU_R4300)	+= -march=r4300 -Wa,--trap
 cflags-$(CONFIG_CPU_VR41XX)	+= -march=r4100 -Wa,--trap
 cflags-$(CONFIG_CPU_R4X00)	+= -march=r4600 -Wa,--trap
arch/mips/configs/jmr3927_defconfig deleted +0 -50

50 lines not on this page · raw message

arch/mips/include/asm/cpu-features.h +0 -3
index 3d71081afc55..de8cb2ccb781 100644
@@ -120,9 +120,6 @@
 #ifndef cpu_has_4k_cache
 #define cpu_has_4k_cache	__isa_ge_or_opt(1, MIPS_CPU_4K_CACHE)
 #endif
-#ifndef cpu_has_tx39_cache
-#define cpu_has_tx39_cache	__opt(MIPS_CPU_TX39_CACHE)
-#endif
 #ifndef cpu_has_octeon_cache
 #define cpu_has_octeon_cache	0
 #endif
arch/mips/include/asm/cpu-type.h +0 -6
index 5efe8c8b854e..5582ff0c247e 100644
@@ -105,12 +105,6 @@ static inline int __pure __get_cpu_type(const int cpu_type)
 	case CPU_R3081E:
 #endif
 
-#ifdef CONFIG_SYS_HAS_CPU_TX39XX
-	case CPU_TX3912:
-	case CPU_TX3922:
-	case CPU_TX3927:
-#endif
-
 #ifdef CONFIG_SYS_HAS_CPU_VR41XX
 	case CPU_VR41XX:
 	case CPU_VR4111:
arch/mips/include/asm/cpu.h +0 -6
index 5c2f8d9cb7cf..00a3fc7d778d 100644
@@ -309,11 +309,6 @@ enum cpu_type_enum {
 	CPU_VR4122, CPU_VR4131, CPU_VR4133, CPU_VR4181, CPU_VR4181A, CPU_RM7000,
 	CPU_SR71000, CPU_TX49XX,
 
-	/*
-	 * TX3900 class processors
-	 */
-	CPU_TX3912, CPU_TX3922, CPU_TX3927,
-
 	/*
 	 * MIPS32 class processors
 	 */
@@ -367,7 +362,6 @@ enum cpu_type_enum {
 #define MIPS_CPU_4KEX		BIT_ULL( 1)	/* "R4K" exception model */
 #define MIPS_CPU_3K_CACHE	BIT_ULL( 2)	/* R3000-style caches */
 #define MIPS_CPU_4K_CACHE	BIT_ULL( 3)	/* R4000-style caches */
-#define MIPS_CPU_TX39_CACHE	BIT_ULL( 4)	/* TX3900-style caches */
 #define MIPS_CPU_FPU		BIT_ULL( 5)	/* CPU has FPU */
 #define MIPS_CPU_32FPR		BIT_ULL( 6)	/* 32 dbl. prec. FP registers */
 #define MIPS_CPU_COUNTER	BIT_ULL( 7)	/* Cycle count/compare */
arch/mips/include/asm/isadep.h +1 -1
index d1683202399b..8fc1e3ae8d0c 100644
@@ -10,7 +10,7 @@
 #ifndef __ASM_ISADEP_H
 #define __ASM_ISADEP_H
 
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
+#if defined(CONFIG_CPU_R3000)
 /*
  * R2000 or R3000
  */
arch/mips/include/asm/mach-ath25/cpu-feature-overrides.h +0 -1
index a54f20d956a2..ec3604c44ef2 100644
@@ -18,7 +18,6 @@
 #define cpu_has_4kex			1
 #define cpu_has_3k_cache		0
 #define cpu_has_4k_cache		1
-#define cpu_has_tx39_cache		0
 #define cpu_has_sb1_cache		0
 #define cpu_has_fpu			0
 #define cpu_has_32fpr			0
arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h +0 -1
index 79ab3ad9fee8..44fd44a5fc42 100644
@@ -16,7 +16,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_sb1_cache	0
 #define cpu_has_fpu		0
 #define cpu_has_32fpr		0
arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h +0 -1
index e6e527224a15..3c200303ae55 100644
@@ -21,7 +21,6 @@
 #define cpu_has_4kex			1
 #define cpu_has_3k_cache		0
 #define cpu_has_4k_cache		1
-#define cpu_has_tx39_cache		0
 #define cpu_has_fpu			0
 #define cpu_has_32fpr			0
 #define cpu_has_counter			1
arch/mips/include/asm/mach-bcm47xx/cpu-feature-overrides.h +0 -1
index b23ff47ea475..69899c1e122d 100644
@@ -6,7 +6,6 @@
 #define cpu_has_4kex			1
 #define cpu_has_3k_cache		0
 #define cpu_has_4k_cache		1
-#define cpu_has_tx39_cache		0
 #define cpu_has_fpu			0
 #define cpu_has_32fpr			0
 #define cpu_has_counter			1
arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h +0 -1
index 513270c8adb9..9151dcd9d0d5 100644
@@ -21,7 +21,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	0
-#define cpu_has_tx39_cache	0
 #define cpu_has_counter		1
 #define cpu_has_watch		1
 #define cpu_has_divec		1
arch/mips/include/asm/mach-cobalt/cpu-feature-overrides.h +0 -1
index 291fe90aafa5..03192458471d 100644
@@ -13,7 +13,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_32fpr		1
 #define cpu_has_counter		1
 #define cpu_has_watch		0
arch/mips/include/asm/mach-dec/cpu-feature-overrides.h +0 -1
index 1896e88f6000..3ddc4b4dca26 100644
@@ -17,7 +17,6 @@
 #define cpu_has_rixiex			0
 #define cpu_has_maar			0
 #define cpu_has_rw_llb			0
-#define cpu_has_tx39_cache		0
 #define cpu_has_divec			0
 #define cpu_has_prefetch		0
 #define cpu_has_mcheck			0
arch/mips/include/asm/mach-ingenic/cpu-feature-overrides.h +0 -1
index 7c5e576f9d96..7ace50127f5a 100644
@@ -11,7 +11,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_counter		0
 #define cpu_has_watch		1
 #define cpu_has_divec		1
arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h +0 -1
index 58f829c9b6c7..c8385c4e8664 100644
@@ -25,7 +25,6 @@
 #define cpu_has_4kex			1
 #define cpu_has_3k_cache		0
 #define cpu_has_4k_cache		1
-#define cpu_has_tx39_cache		0
 #define cpu_has_fpu			1
 #define cpu_has_nofpuex			0
 #define cpu_has_32fpr			1
arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h +0 -1
index 49a93e82c252..8ad0c424a9af 100644
@@ -28,7 +28,6 @@
 #define cpu_has_4kex			1
 #define cpu_has_3k_cache		0
 #define cpu_has_4k_cache		1
-#define cpu_has_tx39_cache		0
 #define cpu_has_fpu			1
 #define cpu_has_nofpuex			0
 #define cpu_has_32fpr			1
arch/mips/include/asm/mach-lantiq/falcon/cpu-feature-overrides.h +0 -1
index 10226976f7b7..22607e61e57b 100644
@@ -15,7 +15,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_sb1_cache	0
 #define cpu_has_fpu		0
 #define cpu_has_32fpr		0
arch/mips/include/asm/mach-loongson2ef/cpu-feature-overrides.h +0 -1
index b2ee859ca0b7..eb0d1cfb9f3b 100644
@@ -34,7 +34,6 @@
 #define cpu_has_mipsmt		0
 #define cpu_has_smartmips	0
 #define cpu_has_tlb		1
-#define cpu_has_tx39_cache	0
 #define cpu_has_vce		0
 #define cpu_has_veic		0
 #define cpu_has_vint		0
arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h +0 -1
index eb181224eb4c..ebace9e4bdc1 100644
@@ -36,7 +36,6 @@
 #define cpu_has_mipsmt		0
 #define cpu_has_smartmips	0
 #define cpu_has_tlb		1
-#define cpu_has_tx39_cache	0
 #define cpu_has_vce		0
 #define cpu_has_veic		0
 #define cpu_has_vint		0
arch/mips/include/asm/mach-ralink/mt7620/cpu-feature-overrides.h +0 -1
index c4579f1705c2..85a62c99a52a 100644
@@ -16,7 +16,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_sb1_cache	0
 #define cpu_has_fpu		0
 #define cpu_has_32fpr		0
arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h +0 -1
index 168359a0a58d..3c19a94f5432 100644
@@ -17,7 +17,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_sb1_cache	0
 #define cpu_has_fpu		0
 #define cpu_has_32fpr		0
arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h +0 -1
index fdaf8c9182bc..a850c1e46134 100644
@@ -16,7 +16,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_sb1_cache	0
 #define cpu_has_fpu		0
 #define cpu_has_32fpr		0
arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h +0 -1
index 7a385fe784a6..2d75264a9166 100644
@@ -16,7 +16,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_sb1_cache	0
 #define cpu_has_fpu		0
 #define cpu_has_32fpr		0
arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h +0 -1
index 0a61910f6521..accf2a325343 100644
@@ -15,7 +15,6 @@
 #define cpu_has_4kex		1
 #define cpu_has_3k_cache	0
 #define cpu_has_4k_cache	1
-#define cpu_has_tx39_cache	0
 #define cpu_has_sb1_cache	0
 #define cpu_has_fpu		0
 #define cpu_has_32fpr		0
arch/mips/include/asm/mach-rc32434/cpu-feature-overrides.h +0 -1
index 8539ccfb69b7..36d45c9cf09c 100644
@@ -18,7 +18,6 @@
 #define cpu_has_4kex			1
 #define cpu_has_3k_cache		0
 #define cpu_has_4k_cache		1
-#define cpu_has_tx39_cache		0
 #define cpu_has_sb1_cache		0
 #define cpu_has_fpu			0
 #define cpu_has_32fpr			0
arch/mips/include/asm/mach-tx39xx/ioremap.h deleted +0 -25
deleted file mode 100644
index 157a7292397e..000000000000
@@ -1,25 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- *	include/asm-mips/mach-tx39xx/ioremap.h
- */
-#ifndef __ASM_MACH_TX39XX_IOREMAP_H
-#define __ASM_MACH_TX39XX_IOREMAP_H
-
-#include <linux/types.h>
-
-static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size,
-	unsigned long flags)
-{
-#define TXX9_DIRECTMAP_BASE	0xff000000ul
-	if (offset >= TXX9_DIRECTMAP_BASE &&
-	    offset < TXX9_DIRECTMAP_BASE + 0xff0000)
-		return (void __iomem *)offset;
-	return NULL;
-}
-
-static inline int plat_iounmap(const volatile void __iomem *addr)
-{
-	return (unsigned long)addr >= TXX9_DIRECTMAP_BASE;
-}
-
-#endif /* __ASM_MACH_TX39XX_IOREMAP_H */
arch/mips/include/asm/mach-tx39xx/mangle-port.h deleted +0 -24
deleted file mode 100644
index 95be459950f7..000000000000
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ASM_MACH_TX39XX_MANGLE_PORT_H
-#define __ASM_MACH_TX39XX_MANGLE_PORT_H
-
-#if defined(CONFIG_TOSHIBA_JMR3927)
-extern unsigned long (*__swizzle_addr_b)(unsigned long port);
-#define NEEDS_TXX9_SWIZZLE_ADDR_B
-#else
-#define __swizzle_addr_b(port)	(port)
-#endif
-#define __swizzle_addr_w(port)	(port)
-#define __swizzle_addr_l(port)	(port)
-#define __swizzle_addr_q(port)	(port)
-
-#define ioswabb(a, x)		(x)
-#define __mem_ioswabb(a, x)	(x)
-#define ioswabw(a, x)		le16_to_cpu((__force __le16)(x))
-#define __mem_ioswabw(a, x)	(x)
-#define ioswabl(a, x)		le32_to_cpu((__force __le32)(x))
-#define __mem_ioswabl(a, x)	(x)
-#define ioswabq(a, x)		le64_to_cpu((__force __le64)(x))
-#define __mem_ioswabq(a, x)	(x)
-
-#endif /* __ASM_MACH_TX39XX_MANGLE_PORT_H */
arch/mips/include/asm/mach-tx39xx/spaces.h deleted +0 -17
deleted file mode 100644
index 151fe7a1cf1d..000000000000
@@ -1,17 +0,0 @@
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle
- * Copyright (C) 2000, 2002  Maciej W. Rozycki
- * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc.
- */
-#ifndef _ASM_TX39XX_SPACES_H
-#define _ASM_TX39XX_SPACES_H
-
-#define FIXADDR_TOP		((unsigned long)(long)(int)0xfefe0000)
-
-#include <asm/mach-generic/spaces.h>
-
-#endif /* __ASM_TX39XX_SPACES_H */
arch/mips/include/asm/stackframe.h +3 -3
index aa430a6c68b2..a8705aef47e1 100644
@@ -42,7 +42,7 @@
 	cfi_restore \reg \offset \docfi
 	.endm
 
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
+#if defined(CONFIG_CPU_R3000)
 #define STATMASK 0x3f
 #else
 #define STATMASK 0x1f
@@ -349,7 +349,7 @@
 		cfi_ld	sp, PT_R29, \docfi
 		.endm
 
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
+#if defined(CONFIG_CPU_R3000)
 
 		.macro	RESTORE_SOME docfi=0
 		.set	push
@@ -478,7 +478,7 @@
 		.macro	KMODE
 		mfc0	t0, CP0_STATUS
 		li	t1, ST0_KERNEL_CUMASK | (STATMASK & ~1)
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
+#if defined(CONFIG_CPU_R3000)
 		andi	t2, t0, ST0_IEP
 		srl	t2, 2
 		or	t0, t2
arch/mips/include/asm/txx9/boards.h +0 -3
index 70284e90dc53..6897ca4366d5 100644
@@ -1,7 +1,4 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-#ifdef CONFIG_TOSHIBA_JMR3927
-BOARD_VEC(jmr3927_vec)
-#endif
 #ifdef CONFIG_TOSHIBA_RBTX4927
 BOARD_VEC(rbtx4927_vec)
 BOARD_VEC(rbtx4937_vec)
arch/mips/include/asm/txx9/jmr3927.h deleted +0 -179

179 lines not on this page · raw message

arch/mips/include/asm/txx9/tx3927.h deleted +0 -341

341 lines not on this page · raw message

arch/mips/include/asm/txx9irq.h +0 -4
index 68a6650a4025..3875243bb56b 100644
@@ -21,11 +21,7 @@
 #endif
 #endif
 
-#ifdef CONFIG_CPU_TX39XX
-#define TXx9_MAX_IR 16
-#else
 #define TXx9_MAX_IR 32
-#endif
 
 void txx9_irq_init(unsigned long baseaddr);
 int txx9_irq(void);
arch/mips/include/asm/txx9tmr.h +0 -4
index 466a3def3866..a051b411368e 100644
@@ -58,10 +58,6 @@ void txx9_clockevent_init(unsigned long baseaddr, int irq,
 			  unsigned int imbusclk);
 void txx9_tmr_init(unsigned long baseaddr);
 
-#ifdef CONFIG_CPU_TX39XX
-#define TXX9_TIMER_BITS 24
-#else
 #define TXX9_TIMER_BITS 32
-#endif
 
 #endif /* __ASM_TXX9TMR_H */
arch/mips/include/asm/vermagic.h +0 -2
index 0904de0b5e09..1c33922eb945 100644
@@ -22,8 +22,6 @@
 #define MODULE_PROC_FAMILY "MIPS64_R6 "
 #elif defined CONFIG_CPU_R3000
 #define MODULE_PROC_FAMILY "R3000 "
-#elif defined CONFIG_CPU_TX39XX
-#define MODULE_PROC_FAMILY "TX39XX "
 #elif defined CONFIG_CPU_VR41XX
 #define MODULE_PROC_FAMILY "VR41XX "
 #elif defined CONFIG_CPU_R4300
arch/mips/kernel/Makefile +0 -1
index 814b3da30501..7c96282bff2e 100644
@@ -44,7 +44,6 @@ obj-$(CONFIG_FUNCTION_TRACER)	+= mcount.o ftrace.o
 
 sw-y				:= r4k_switch.o
 sw-$(CONFIG_CPU_R3000)		:= r2300_switch.o
-sw-$(CONFIG_CPU_TX39XX)		:= r2300_switch.o
 sw-$(CONFIG_CPU_CAVIUM_OCTEON)	:= octeon_switch.o
 obj-y				+= $(sw-y)
 
arch/mips/kernel/cpu-probe.c +0 -23
index 24a529c6c4be..f0ea92937546 100644
@@ -1189,29 +1189,6 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c, unsigned int cpu)
 		c->tlbsize = 48;
 		break;
 	#endif
-	case PRID_IMP_TX39:
-		c->fpu_msk31 |= FPU_CSR_CONDX | FPU_CSR_FS;
-		c->options = MIPS_CPU_TLB | MIPS_CPU_TX39_CACHE;
-
-		if ((c->processor_id & 0xf0) == (PRID_REV_TX3927 & 0xf0)) {
-			c->cputype = CPU_TX3927;
-			__cpu_name[cpu] = "TX3927";
-			c->tlbsize = 64;
-		} else {
-			switch (c->processor_id & PRID_REV_MASK) {
-			case PRID_REV_TX3912:
-				c->cputype = CPU_TX3912;
-				__cpu_name[cpu] = "TX3912";
-				c->tlbsize = 32;
-				break;
-			case PRID_REV_TX3922:
-				c->cputype = CPU_TX3922;
-				__cpu_name[cpu] = "TX3922";
-				c->tlbsize = 64;
-				break;
-			}
-		}
-		break;
 	case PRID_IMP_R4700:
 		c->cputype = CPU_R4700;
 		__cpu_name[cpu] = "R4700";
arch/mips/kernel/cpu-r3k-probe.c +0 -22
index af654771918c..be93469c0e0e 100644
@@ -118,28 +118,6 @@ void cpu_probe(void)
 			c->options |= MIPS_CPU_FPU;
 		c->tlbsize = 64;
 		break;
-	case PRID_COMP_LEGACY | PRID_IMP_TX39:
-		c->options = MIPS_CPU_TLB | MIPS_CPU_TX39_CACHE;
-
-		if ((c->processor_id & 0xf0) == (PRID_REV_TX3927 & 0xf0)) {
-			c->cputype = CPU_TX3927;
-			__cpu_name[cpu] = "TX3927";
-			c->tlbsize = 64;
-		} else {
-			switch (c->processor_id & PRID_REV_MASK) {
-			case PRID_REV_TX3912:
-				c->cputype = CPU_TX3912;
-				__cpu_name[cpu] = "TX3912";
-				c->tlbsize = 32;
-				break;
-			case PRID_REV_TX3922:
-				c->cputype = CPU_TX3922;
-				__cpu_name[cpu] = "TX3922";
-				c->tlbsize = 64;
-				break;
-			}
-		}
-		break;
 	}
 
 	BUG_ON(!__cpu_name[cpu]);
arch/mips/kernel/entry.S +1 -1
index d8ca173680f9..891393626dc6 100644
@@ -100,7 +100,7 @@ restore_partial:		# restore partial frame
 	SAVE_AT
 	SAVE_TEMP
 	LONG_L	v0, PT_STATUS(sp)
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
+#if defined(CONFIG_CPU_R3000)
 	and	v0, ST0_IEP
 #else
 	and	v0, ST0_IE
arch/mips/kernel/genex.S +2 -2
index fc53ea2cf850..3425df6019c0 100644
@@ -162,7 +162,7 @@ NESTED(handle_int, PT_SIZE, sp)
 	.set	push
 	.set	noat
 	mfc0	k0, CP0_STATUS
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
+#if defined(CONFIG_CPU_R3000)
 	and	k0, ST0_IEP
 	bnez	k0, 1f
 
@@ -644,7 +644,7 @@ isrdhwr:
 	get_saved_sp	/* k1 := current_thread_info */
 	.set	noreorder
 	MFC0	k0, CP0_EPC
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
+#if defined(CONFIG_CPU_R3000)
 	ori	k1, _THREAD_MASK
 	xori	k1, _THREAD_MASK
 	LONG_L	v1, TI_TP_VALUE(k1)
arch/mips/kernel/idle.c +0 -10
index c81b3a039470..146d9fa77f75 100644
@@ -36,13 +36,6 @@ static void __cpuidle r3081_wait(void)
 	raw_local_irq_enable();
 }
 
-static void __cpuidle r39xx_wait(void)
-{
-	if (!need_resched())
-		write_c0_conf(read_c0_conf() | TX39_CONF_HALT);
-	raw_local_irq_enable();
-}
-
 void __cpuidle r4k_wait(void)
 {
 	raw_local_irq_enable();
@@ -147,9 +140,6 @@ void __init check_wait(void)
 	case CPU_R3081E:
 		cpu_wait = r3081_wait;
 		break;
-	case CPU_TX3927:
-		cpu_wait = r39xx_wait;
-		break;
 	case CPU_R4200:
 /*	case CPU_R4300: */
 	case CPU_R4600:
arch/mips/kernel/irq_txx9.c +0 -13
index ab00e490482f..af3ef4c9f7de 100644
@@ -72,11 +72,6 @@ static void txx9_irq_unmask(struct irq_data *d)
 	__raw_writel((__raw_readl(ilrp) & ~(0xff << ofs))
 		     | (txx9irq[irq_nr].level << ofs),
 		     ilrp);
-#ifdef CONFIG_CPU_TX39XX
-	/* update IRCSR */
-	__raw_writel(0, &txx9_ircptr->imr);
-	__raw_writel(irc_elevel, &txx9_ircptr->imr);
-#endif
 }
 
 static inline void txx9_irq_mask(struct irq_data *d)
@@ -88,15 +83,7 @@ static inline void txx9_irq_mask(struct irq_data *d)
 	__raw_writel((__raw_readl(ilrp) & ~(0xff << ofs))
 		     | (irc_dlevel << ofs),
 		     ilrp);
-#ifdef CONFIG_CPU_TX39XX
-	/* update IRCSR */
-	__raw_writel(0, &txx9_ircptr->imr);
-	__raw_writel(irc_elevel, &txx9_ircptr->imr);
-	/* flush write buffer */
-	__raw_readl(&txx9_ircptr->ssr);
-#else
 	mmiowb();
-#endif
 }
 
 static void txx9_irq_mask_ack(struct irq_data *d)
arch/mips/kernel/proc.c +0 -2
index 9f47a889b047..bb43bf850314 100644
@@ -181,8 +181,6 @@ static int show_cpuinfo(struct seq_file *m, void *v)
 		seq_puts(m, " 3k_cache");
 	if (cpu_has_4k_cache)
 		seq_puts(m, " 4k_cache");
-	if (cpu_has_tx39_cache)
-		seq_puts(m, " tx39_cache");
 	if (cpu_has_octeon_cache)
 		seq_puts(m, " octeon_cache");
 	if (raw_cpu_has_fpu)
arch/mips/kernel/process.c +1 -1
index cbff1b974f88..c2d5f4bfe1f3 100644
@@ -128,7 +128,7 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,
 		p->thread.reg17 = kthread_arg;
 		p->thread.reg29 = childksp;
 		p->thread.reg31 = (unsigned long) ret_from_kernel_thread;
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
+#if defined(CONFIG_CPU_R3000)
 		status = (status & ~(ST0_KUP | ST0_IEP | ST0_IEC)) |
 			 ((status & (ST0_KUC | ST0_IEC)) << 2);
 #else
arch/mips/lib/Makefile +0 -1
index 479f50559c83..5d5b993cbc2b 100644
@@ -13,7 +13,6 @@ lib-$(CONFIG_GENERIC_CSUM)	:= $(filter-out csum_partial.o, $(lib-y))
 
 obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o
 obj-$(CONFIG_CPU_R3000)		+= r3k_dump_tlb.o
-obj-$(CONFIG_CPU_TX39XX)	+= r3k_dump_tlb.o
 
 # libgcc-style stuff needed in the kernel
 obj-y += bswapsi.o bswapdi.o multi3.o
arch/mips/lib/r3k_dump_tlb.c +0 -4
index 10b4bf7f70a3..fcf594af0002 100644
@@ -14,15 +14,11 @@
 #include <asm/page.h>
 #include <asm/tlbdebug.h>
 
-extern int r3k_have_wired_reg;
-
 void dump_tlb_regs(void)
 {
 	pr_info("Index    : %0x\n", read_c0_index());
 	pr_info("EntryHi  : %0lx\n", read_c0_entryhi());
 	pr_info("EntryLo  : %0lx\n", read_c0_entrylo0());
-	if (r3k_have_wired_reg)
-		pr_info("Wired    : %0x\n", read_c0_wired());
 }
 
 static void dump_tlb(int first, int last)
arch/mips/mm/Makefile +0 -1
index 4acc4f3d31f8..304692391519 100644
@@ -36,7 +36,6 @@ obj-$(CONFIG_CPU_R3K_TLB)	+= tlb-r3k.o
 obj-$(CONFIG_CPU_R4K_CACHE_TLB) += c-r4k.o cex-gen.o tlb-r4k.o
 obj-$(CONFIG_CPU_R3000)		+= c-r3k.o
 obj-$(CONFIG_CPU_SB1)		+= c-r4k.o cerr-sb1.o cex-sb1.o tlb-r4k.o
-obj-$(CONFIG_CPU_TX39XX)	+= c-tx39.o
 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += c-octeon.o cex-oct.o tlb-r4k.o
 
 obj-$(CONFIG_IP22_CPU_SCACHE)	+= sc-ip22.o
arch/mips/mm/c-tx39.c deleted +0 -414

414 lines not on this page · raw message

arch/mips/mm/cache.c +0 -5
index 830ab91e574f..7be7240f7703 100644
@@ -195,11 +195,6 @@ void cpu_cache_init(void)
 
 		r4k_cache_init();
 	}
-	if (cpu_has_tx39_cache) {
-		extern void __weak tx39_cache_init(void);
-
-		tx39_cache_init();
-	}
 
 	if (cpu_has_octeon_cache) {
 		extern void __weak octeon_cache_init(void);
arch/mips/mm/tlb-r3k.c +2 -38
index a36622ebea55..53dfa2b9316b 100644
@@ -36,8 +36,6 @@ extern void build_tlb_refill_handler(void);
 		"nop\n\t"		\
 		".set	pop\n\t")
 
-int r3k_have_wired_reg;			/* Should be in cpu_data? */
-
 /* TLB operations. */
 static void local_flush_tlb_from(int entry)
 {
@@ -62,7 +60,7 @@ void local_flush_tlb_all(void)
 	printk("[tlball]");
 #endif
 	local_irq_save(flags);
-	local_flush_tlb_from(r3k_have_wired_reg ? read_c0_wired() : 8);
+	local_flush_tlb_from(8);
 	local_irq_restore(flags);
 }
 
@@ -224,34 +222,7 @@ void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
 	unsigned long old_ctx;
 	static unsigned long wired = 0;
 
-	if (r3k_have_wired_reg) {			/* TX39XX */
-		unsigned long old_pagemask;
-		unsigned long w;
-
-#ifdef DEBUG_TLB
-		printk("[tlbwired<entry lo0 %8x, hi %8x\n, pagemask %8x>]\n",
-		       entrylo0, entryhi, pagemask);
-#endif
-
-		local_irq_save(flags);
-		/* Save old context and create impossible VPN2 value */
-		old_ctx = read_c0_entryhi() & asid_mask;
-		old_pagemask = read_c0_pagemask();
-		w = read_c0_wired();
-		write_c0_wired(w + 1);
-		write_c0_index(w << 8);
-		write_c0_pagemask(pagemask);
-		write_c0_entryhi(entryhi);
-		write_c0_entrylo0(entrylo0);
-		BARRIER;
-		tlb_write_indexed();
-
-		write_c0_entryhi(old_ctx);
-		write_c0_pagemask(old_pagemask);
-		local_flush_tlb_all();
-		local_irq_restore(flags);
-
-	} else if (wired < 8) {
+	if (wired < 8) {
 #ifdef DEBUG_TLB
 		printk("[tlbwired<entry lo0 %8x, hi %8x\n>]\n",
 		       entrylo0, entryhi);
@@ -272,13 +243,6 @@ void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
 
 void tlb_init(void)
 {
-	switch (current_cpu_type()) {
-	case CPU_TX3922:
-	case CPU_TX3927:
-		r3k_have_wired_reg = 1;
-		write_c0_wired(0);		/* Set to 8 on reset... */
-		break;
-	}
 	local_flush_tlb_from(0);
 	build_tlb_refill_handler();
 }
arch/mips/pci/Makefile +0 -2
index 9a6bc702608c..ed0388485a15 100644
@@ -13,7 +13,6 @@ obj-$(CONFIG_PCI_DRIVERS_GENERIC)+= pci-generic.o
 obj-$(CONFIG_MIPS_BONITO64)	+= ops-bonito64.o
 obj-$(CONFIG_PCI_GT64XXX_PCI0)	+= ops-gt64xxx_pci0.o
 obj-$(CONFIG_MIPS_MSC)		+= ops-msc.o
-obj-$(CONFIG_SOC_TX3927)	+= ops-tx3927.o
 obj-$(CONFIG_PCI_VR41XX)	+= ops-vr41xx.o pci-vr41xx.o
 obj-$(CONFIG_PCI_TX4927)	+= ops-tx4927.o
 obj-$(CONFIG_BCM47XX)		+= pci-bcm47xx.o
@@ -46,7 +45,6 @@ obj-$(CONFIG_SOC_RT3883)	+= pci-rt3883.o
 obj-$(CONFIG_TANBAC_TB0219)	+= fixup-tb0219.o
 obj-$(CONFIG_TANBAC_TB0226)	+= fixup-tb0226.o
 obj-$(CONFIG_TANBAC_TB0287)	+= fixup-tb0287.o
-obj-$(CONFIG_TOSHIBA_JMR3927)	+= fixup-jmr3927.o
 obj-$(CONFIG_SOC_TX4927)	+= pci-tx4927.o
 obj-$(CONFIG_SOC_TX4938)	+= pci-tx4938.o
 obj-$(CONFIG_TOSHIBA_RBTX4927)	+= fixup-rbtx4927.o
arch/mips/pci/fixup-jmr3927.c deleted +0 -79

79 lines not on this page · raw message

arch/mips/pci/ops-tx3927.c deleted +0 -231

231 lines not on this page · raw message

arch/mips/txx9/Kconfig +0 -18
index 6c61feee6dd3..7335efa4d528 100644
@@ -1,9 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0
-config MACH_TX39XX
-	bool
-	select MACH_TXX9
-	select SYS_HAS_CPU_TX39XX
-
 config MACH_TX49XX
 	bool
 	select BOOT_ELF32
@@ -24,11 +19,6 @@ config MACH_TXX9
 	select SYS_SUPPORTS_BIG_ENDIAN
 	select COMMON_CLK
 
-config TOSHIBA_JMR3927
-	bool "Toshiba JMR-TX3927 board"
-	depends on MACH_TX39XX
-	select SOC_TX3927
-
 config TOSHIBA_RBTX4927
 	bool "Toshiba RBTX49[23]7 board"
 	depends on MACH_TX49XX
@@ -39,14 +29,6 @@ config TOSHIBA_RBTX4927
 	  This Toshiba board is based on the TX4927 processor. Say Y here to
 	  support this machine type
 
-config SOC_TX3927
-	bool
-	select CEVT_TXX9
-	imply HAS_TXX9_SERIAL
-	select HAVE_PCI
-	select IRQ_TXX9
-	select GPIO_TXX9
-
 config SOC_TX4927
 	bool
 	select CEVT_TXX9
arch/mips/txx9/Makefile +0 -6
index 53269910a48b..14c91f2678a3 100644
@@ -2,14 +2,8 @@
 #
 # Common TXx9
 #
-obj-$(CONFIG_MACH_TX39XX)      += generic/
 obj-$(CONFIG_MACH_TX49XX)      += generic/
 
-#
-# Toshiba JMR-TX3927 board
-#
-obj-$(CONFIG_TOSHIBA_JMR3927)  += jmr3927/
-
 #
 # Toshiba RBTX49XX boards
 #
arch/mips/txx9/Platform +0 -3
index 7f4429ba22eb..e5a295068b3e 100644
@@ -1,7 +1,4 @@
-cflags-$(CONFIG_MACH_TX39XX)	+=					\
-		-I$(srctree)/arch/mips/include/asm/mach-tx39xx
 cflags-$(CONFIG_MACH_TX49XX)	+=					\
 		 -I$(srctree)/arch/mips/include/asm/mach-tx49xx
 
-load-$(CONFIG_MACH_TX39XX)	+= 0xffffffff80050000
 load-$(CONFIG_MACH_TX49XX)	+= 0xffffffff80100000
arch/mips/txx9/generic/Makefile +0 -1
index be5af9fe7c11..3c155c7e2be8 100644
@@ -5,7 +5,6 @@
 
 obj-y	+= setup.o
 obj-$(CONFIG_PCI)	+= pci.o
-obj-$(CONFIG_SOC_TX3927)	+= setup_tx3927.o irq_tx3927.o
 obj-$(CONFIG_SOC_TX4927)	+= mem_tx4927.o setup_tx4927.o irq_tx4927.o
 obj-$(CONFIG_SOC_TX4938)	+= mem_tx4927.o setup_tx4938.o irq_tx4938.o
 obj-$(CONFIG_TOSHIBA_FPCIB0)	+= smsc_fdc37m81x.o
arch/mips/txx9/generic/irq_tx3927.c deleted +0 -25
deleted file mode 100644
index c683f593eda2..000000000000
@@ -1,25 +0,0 @@
-/*
- * Common tx3927 irq handler
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright 2001 MontaVista Software Inc.
- * Copyright (C) 2000-2001 Toshiba Corporation
- */
-#include <linux/init.h>
-#include <asm/txx9irq.h>
-#include <asm/txx9/tx3927.h>
-
-void __init tx3927_irq_init(void)
-{
-	int i;
-
-	txx9_irq_init(TX3927_IRC_REG);
-	/* raise priority for timers, sio */
-	for (i = 0; i < TX3927_NR_TMR; i++)
-		txx9_irq_set_pri(TX3927_IR_TMR(i), 6);
-	for (i = 0; i < TX3927_NR_SIO; i++)
-		txx9_irq_set_pri(TX3927_IR_SIO(i), 7);
-}
arch/mips/txx9/generic/setup.c +0 -55

74 lines not on this page · raw message

arch/mips/txx9/generic/setup_tx3927.c deleted +0 -136

136 lines not on this page · raw message

arch/mips/txx9/jmr3927/Makefile deleted +0 -6
deleted file mode 100644
index 4bda0615d27e..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-#
-# Makefile for TOSHIBA JMR-TX3927 board
-#
-
-obj-y	+= prom.o irq.o setup.o
arch/mips/txx9/jmr3927/irq.c deleted +0 -128

128 lines not on this page · raw message

arch/mips/txx9/jmr3927/prom.c deleted +0 -52

52 lines not on this page · raw message

arch/mips/txx9/jmr3927/setup.c deleted +0 -223

223 lines not on this page · raw message

drivers/dma/Kconfig +1 -1
index 6bcdb4e6a0d1..d5de3f77d3aa 100644
@@ -623,7 +623,7 @@ config S3C24XX_DMAC
 
 config TXX9_DMAC
 	tristate "Toshiba TXx9 SoC DMA support"
-	depends on MACH_TX49XX || MACH_TX39XX
+	depends on MACH_TX49XX
 	select DMA_ENGINE
 	help
 	  Support the TXx9 SoC internal DMA controller.  This can be
drivers/watchdog/Kconfig +1 -1
index c8fa79da23b3..aa42f0686591 100644
@@ -1718,7 +1718,7 @@ config AR7_WDT
 
 config TXX9_WDT
 	tristate "Toshiba TXx9 Watchdog Timer"
-	depends on CPU_TX39XX || CPU_TX49XX || (MIPS && COMPILE_TEST)
+	depends on CPU_TX49XX || (MIPS && COMPILE_TEST)
 	select WATCHDOG_CORE
 	help
 	  Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
Signature · 1 line
2.29.2
Reviewed-by Tested-by on v1 1/1
#2 lore raw
In reply to Thomas Bogendoerfer
Quoted 3 lines · Thomas Bogendoerfer

No (active) developer owns this hardware, so let's remove Linux support.

My rbt4927 still works fine, so

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

author maintainer Applied
#4 lore raw
In reply to Thomas Bogendoerfer
Quoted 80 lines · Thomas Bogendoerfer

No (active) developer owns this hardware, so let's remove Linux support.

---
 arch/mips/Kbuild.platforms                    |   1 -
 arch/mips/Kconfig                             |  24 +-
 arch/mips/Makefile                            |   1 -
 arch/mips/configs/jmr3927_defconfig           |  50 ---
 arch/mips/include/asm/cpu-features.h          |   3 -
 arch/mips/include/asm/cpu-type.h              |   6 -
 arch/mips/include/asm/cpu.h                   |   6 -
 arch/mips/include/asm/isadep.h                |   2 +-
 .../asm/mach-ath25/cpu-feature-overrides.h    |   1 -
 .../asm/mach-ath79/cpu-feature-overrides.h    |   1 -
 .../asm/mach-au1x00/cpu-feature-overrides.h   |   1 -
 .../asm/mach-bcm47xx/cpu-feature-overrides.h  |   1 -
 .../cpu-feature-overrides.h                   |   1 -
 .../asm/mach-cobalt/cpu-feature-overrides.h   |   1 -
 .../asm/mach-dec/cpu-feature-overrides.h      |   1 -
 .../asm/mach-ingenic/cpu-feature-overrides.h  |   1 -
 .../asm/mach-ip27/cpu-feature-overrides.h     |   1 -
 .../asm/mach-ip30/cpu-feature-overrides.h     |   1 -
 .../falcon/cpu-feature-overrides.h            |   1 -
 .../mach-loongson2ef/cpu-feature-overrides.h  |   1 -
 .../mach-loongson64/cpu-feature-overrides.h   |   1 -
 .../mt7620/cpu-feature-overrides.h            |   1 -
 .../mt7621/cpu-feature-overrides.h            |   1 -
 .../rt288x/cpu-feature-overrides.h            |   1 -
 .../rt305x/cpu-feature-overrides.h            |   1 -
 .../rt3883/cpu-feature-overrides.h            |   1 -
 .../asm/mach-rc32434/cpu-feature-overrides.h  |   1 -
 arch/mips/include/asm/mach-tx39xx/ioremap.h   |  25 --
 .../include/asm/mach-tx39xx/mangle-port.h     |  24 -
 arch/mips/include/asm/mach-tx39xx/spaces.h    |  17 -
 arch/mips/include/asm/stackframe.h            |   6 +-
 arch/mips/include/asm/txx9/boards.h           |   3 -
 arch/mips/include/asm/txx9/jmr3927.h          | 179 --------
 arch/mips/include/asm/txx9/tx3927.h           | 341 ---------------
 arch/mips/include/asm/txx9irq.h               |   4 -
 arch/mips/include/asm/txx9tmr.h               |   4 -
 arch/mips/include/asm/vermagic.h              |   2 -
 arch/mips/kernel/Makefile                     |   1 -
 arch/mips/kernel/cpu-probe.c                  |  23 -
 arch/mips/kernel/cpu-r3k-probe.c              |  22 -
 arch/mips/kernel/entry.S                      |   2 +-
 arch/mips/kernel/genex.S                      |   4 +-
 arch/mips/kernel/idle.c                       |  10 -
 arch/mips/kernel/irq_txx9.c                   |  13 -
 arch/mips/kernel/proc.c                       |   2 -
 arch/mips/kernel/process.c                    |   2 +-
 arch/mips/lib/Makefile                        |   1 -
 arch/mips/lib/r3k_dump_tlb.c                  |   4 -
 arch/mips/mm/Makefile                         |   1 -
 arch/mips/mm/c-tx39.c                         | 414 ------------------
 arch/mips/mm/cache.c                          |   5 -
 arch/mips/mm/tlb-r3k.c                        |  40 +-
 arch/mips/pci/Makefile                        |   2 -
 arch/mips/pci/fixup-jmr3927.c                 |  79 ----
 arch/mips/pci/ops-tx3927.c                    | 231 ----------
 arch/mips/txx9/Kconfig                        |  18 -
 arch/mips/txx9/Makefile                       |   6 -
 arch/mips/txx9/Platform                       |   3 -
 arch/mips/txx9/generic/Makefile               |   1 -
 arch/mips/txx9/generic/irq_tx3927.c           |  25 --
 arch/mips/txx9/generic/setup.c                |  55 ---
 arch/mips/txx9/generic/setup_tx3927.c         | 136 ------
 arch/mips/txx9/jmr3927/Makefile               |   6 -
 arch/mips/txx9/jmr3927/irq.c                  | 128 ------
 arch/mips/txx9/jmr3927/prom.c                 |  52 ---
 arch/mips/txx9/jmr3927/setup.c                | 223 ----------
 drivers/dma/Kconfig                           |   2 +-
 drivers/watchdog/Kconfig                      |   2 +-
 68 files changed, 18 insertions(+), 2212 deletions(-)
 delete mode 100644 arch/mips/configs/jmr3927_defconfig
 delete mode 100644 arch/mips/include/asm/mach-tx39xx/ioremap.h
 delete mode 100644 arch/mips/include/asm/mach-tx39xx/mangle-port.h
 delete mode 100644 arch/mips/include/asm/mach-tx39xx/spaces.h
 delete mode 100644 arch/mips/include/asm/txx9/jmr3927.h
 delete mode 100644 arch/mips/include/asm/txx9/tx3927.h
 delete mode 100644 arch/mips/mm/c-tx39.c
Quoted 8 lines
 delete mode 100644 arch/mips/pci/fixup-jmr3927.c
 delete mode 100644 arch/mips/pci/ops-tx3927.c
 delete mode 100644 arch/mips/txx9/generic/irq_tx3927.c
 delete mode 100644 arch/mips/txx9/generic/setup_tx3927.c
 delete mode 100644 arch/mips/txx9/jmr3927/Makefile
 delete mode 100644 arch/mips/txx9/jmr3927/irq.c
 delete mode 100644 arch/mips/txx9/jmr3927/prom.c
 delete mode 100644 arch/mips/txx9/jmr3927/setup.c

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]