summaryrefslogtreecommitdiff
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-07-26 18:58:28 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-07-28 10:21:17 +0200
commita4aec0f3f506ae5435e03aa9ed4fca31019985d0 (patch)
treef65ff454d5892f182bd8980ee5ac7c72abf460c0 /arch/mips/Kconfig
parent64aa9fd01459bbdc51a7400552ba4741df37089d (diff)
MIPS: Remove legacy MIPS_MACHINE option
The CONFIG_MIPS_MACHINE option is dead code that hasn't been used in years. The Kconfig option is not selected anywhere, and the <asm/mips_machine.h> is not included anywhere either. To make things worse, for years it co-existed with a separate MIPS machine implementation as <asm/machine.h>. The two defined the 'mips_machine' structure with different fields, and the 'MIPS_MACHINE' macro with different parameters. The two used the same memory area (defined by the linker script) to store data, and you could totally use the two at the same time for all kinds of funny results. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 3d4a3a7d83a2..f6bb446d30f0 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1150,9 +1150,6 @@ config MIPS_MSC
config SYNC_R4K
bool
-config MIPS_MACHINE
- def_bool n
-
config NO_IOPORT_MAP
def_bool n