diff options
author | Paul Burton <paul.burton@mips.com> | 2019-07-22 17:59:43 -0400 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-07-23 17:33:23 -0400 |
commit | f9065b54d437c4660e3d974ad9ce5188c068cd76 (patch) | |
tree | 32622164fa84225b50db05fcea98c830d431d7b1 /arch/mips/include | |
parent | f23478f6ea2ed6c8dccc6f7b902c2362ebc197ef (diff) |
MIPS: Remove unused R4300 CPU support
Our R4300 CPU support can only be included if a system selects
CONFIG_SYS_HAS_CPU_R4300. No system does, making all R4300-related CPU
support dead code. Remove it.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/cpu-type.h | 5 | ||||
-rw-r--r-- | arch/mips/include/asm/cpu.h | 2 | ||||
-rw-r--r-- | arch/mips/include/asm/module.h | 2 |
3 files changed, 1 insertions, 8 deletions
diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h index 518659694112..a6c4114e3aa7 100644 --- a/arch/mips/include/asm/cpu-type.h +++ b/arch/mips/include/asm/cpu-type.h | |||
@@ -116,11 +116,6 @@ static inline int __pure __get_cpu_type(const int cpu_type) | |||
116 | case CPU_VR4181A: | 116 | case CPU_VR4181A: |
117 | #endif | 117 | #endif |
118 | 118 | ||
119 | #ifdef CONFIG_SYS_HAS_CPU_R4300 | ||
120 | case CPU_R4300: | ||
121 | case CPU_R4310: | ||
122 | #endif | ||
123 | |||
124 | #ifdef CONFIG_SYS_HAS_CPU_R4X00 | 119 | #ifdef CONFIG_SYS_HAS_CPU_R4X00 |
125 | case CPU_R4000PC: | 120 | case CPU_R4000PC: |
126 | case CPU_R4000SC: | 121 | case CPU_R4000SC: |
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index f843959f38e2..babc602862bd 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h | |||
@@ -293,7 +293,7 @@ enum cpu_type_enum { | |||
293 | /* | 293 | /* |
294 | * R4000 class processors | 294 | * R4000 class processors |
295 | */ | 295 | */ |
296 | CPU_R4000PC, CPU_R4000SC, CPU_R4000MC, CPU_R4200, CPU_R4300, CPU_R4310, | 296 | CPU_R4000PC, CPU_R4000SC, CPU_R4000MC, CPU_R4200, |
297 | CPU_R4400PC, CPU_R4400SC, CPU_R4400MC, CPU_R4600, CPU_R4640, CPU_R4650, | 297 | CPU_R4400PC, CPU_R4400SC, CPU_R4400MC, CPU_R4600, CPU_R4640, CPU_R4650, |
298 | CPU_R4700, CPU_R5000, CPU_R5500, CPU_NEVADA, CPU_R5432, CPU_R10000, | 298 | CPU_R4700, CPU_R5000, CPU_R5500, CPU_NEVADA, CPU_R5432, CPU_R10000, |
299 | CPU_R12000, CPU_R14000, CPU_R16000, CPU_VR41XX, CPU_VR4111, CPU_VR4121, | 299 | CPU_R12000, CPU_R14000, CPU_R16000, CPU_VR41XX, CPU_VR4111, CPU_VR4121, |
diff --git a/arch/mips/include/asm/module.h b/arch/mips/include/asm/module.h index 6dc0b21b8acd..eaf3f37ed583 100644 --- a/arch/mips/include/asm/module.h +++ b/arch/mips/include/asm/module.h | |||
@@ -103,8 +103,6 @@ search_module_dbetables(unsigned long addr) | |||
103 | #define MODULE_PROC_FAMILY "TX39XX " | 103 | #define MODULE_PROC_FAMILY "TX39XX " |
104 | #elif defined CONFIG_CPU_VR41XX | 104 | #elif defined CONFIG_CPU_VR41XX |
105 | #define MODULE_PROC_FAMILY "VR41XX " | 105 | #define MODULE_PROC_FAMILY "VR41XX " |
106 | #elif defined CONFIG_CPU_R4300 | ||
107 | #define MODULE_PROC_FAMILY "R4300 " | ||
108 | #elif defined CONFIG_CPU_R4X00 | 106 | #elif defined CONFIG_CPU_R4X00 |
109 | #define MODULE_PROC_FAMILY "R4X00 " | 107 | #define MODULE_PROC_FAMILY "R4X00 " |
110 | #elif defined CONFIG_CPU_TX49XX | 108 | #elif defined CONFIG_CPU_TX49XX |