MIPS: Remove legacy MIPS_MACHINE option
authorPaul Cercueil <paul@crapouillou.net>
Sun, 26 Jul 2020 16:58:28 +0000 (18:58 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 28 Jul 2020 08:21:17 +0000 (10:21 +0200)
commita4aec0f3f506ae5435e03aa9ed4fca31019985d0
treef65ff454d5892f182bd8980ee5ac7c72abf460c0
parent64aa9fd01459bbdc51a7400552ba4741df37089d
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>
arch/mips/Kconfig
arch/mips/include/asm/mips_machine.h [deleted file]
arch/mips/kernel/Makefile
arch/mips/kernel/mips_machine.c [deleted file]