diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2013-03-25 19:27:11 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 17:55:19 +0200 |
commit | bce860833ab1e40113eb0efab34d0c8f3b0226b1 (patch) | |
tree | 9e66d8016cbc0a23ca99ac030dadecb62cd9a432 /arch/mips/Kconfig | |
parent | MIPS: microMIPS: Disable LL/SC and fix linker bug. (diff) | |
download | linux-bce860833ab1e40113eb0efab34d0c8f3b0226b1.tar.xz linux-bce860833ab1e40113eb0efab34d0c8f3b0226b1.zip |
MIPS: microMIPS: Add configuration option for microMIPS kernel.
This adds the option to build the Linux kernel using only the
microMIPS ISA. The resulting kernel binary is, at a minimum,
20% smaller than using the MIPS32R2 ISA.
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 03de102b7a09..79bc56c78cdb 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2041,6 +2041,13 @@ config CPU_HAS_SMARTMIPS you don't know you probably don't have SmartMIPS and should say N here. +config CPU_MICROMIPS + depends on SYS_SUPPORTS_MICROMIPS + bool "Build kernel using microMIPS ISA" + help + When this option is enabled the kernel will be built using the + microMIPS ISA + config CPU_HAS_WB bool |