diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2013-03-25 14:27:11 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 11:55:19 -0400 |
commit | bce860833ab1e40113eb0efab34d0c8f3b0226b1 (patch) | |
tree | 9e66d8016cbc0a23ca99ac030dadecb62cd9a432 /arch/mips/Kconfig | |
parent | 1658f914ff91c3bf572d5ddae3773720f6803d20 (diff) |
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 | |||
2041 | you don't know you probably don't have SmartMIPS and should say N | 2041 | you don't know you probably don't have SmartMIPS and should say N |
2042 | here. | 2042 | here. |
2043 | 2043 | ||
2044 | config CPU_MICROMIPS | ||
2045 | depends on SYS_SUPPORTS_MICROMIPS | ||
2046 | bool "Build kernel using microMIPS ISA" | ||
2047 | help | ||
2048 | When this option is enabled the kernel will be built using the | ||
2049 | microMIPS ISA | ||
2050 | |||
2044 | config CPU_HAS_WB | 2051 | config CPU_HAS_WB |
2045 | bool | 2052 | bool |
2046 | 2053 | ||