OSDN Git Service

MIPS: Kconfig: Enable microMIPS support for Malta
authorMaciej W. Rozycki <macro@codesourcery.com>
Sat, 15 Nov 2014 22:07:07 +0000 (22:07 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:35 +0000 (07:45 +0100)
commit424ebcdf28001dfe9115d36700fca40424e0e19a
tree7bad417ee4e50da838d6dee94d30bf3284c195ca
parentd47ff0ec0bf20d750c453da187697a7c59817a43
MIPS: Kconfig: Enable microMIPS support for Malta

Add missing microMIPS support to Malta.  Currently the kernel only
enables support for the instruction set for the SEAD-3 board despite the
fact processor features have nothing to do with the board a processor is
installed in.

In this case there is no way to run microMIPS software in a fully
supported way under Linux on QEMU.  QEMU supports the emulation of a
Malta board, but does not emulate SEAD-3.  Linux supports running
microMIPS code on a SEAD-3 board, but hardcodes such support to off on
an emulated Malta board even if the processor selected has the microMIPS
instruction set implemented.

Adding support for the SEAD-3 to QEMU is a major project.  Flipping a
bit in the kernel that shouldn't have been cleared in the first place is
a trivial effort.  Thus the answer is plain...

Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8478/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig