diff options
author | Franck Bui-Huu <fbuihuu@gmail.com> | 2007-02-02 11:41:47 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-21 19:50:44 -0500 |
commit | 9693a85378b590cc7a4aa2db2174422585c7c8c4 (patch) | |
tree | 43d031f8e555d9276e68bdb158bd264c2d260346 /arch/mips/configs/cobalt_defconfig | |
parent | 9654640d0af8f2de40ff3807d3695109d3463f54 (diff) |
[MIPS] Add basic SMARTMIPS ASE support
This patch adds trivial support for SMARTMIPS extension. This extension
is currently implemented by 4KS[CD] CPUs.
Basically it saves/restores ACX register, which is part of the SMARTMIPS
ASE, when needed. This patch does *not* add any support for Smartmips MMU
features.
Futhermore this patch does not add explicit support for 4KS[CD] CPUs since
they are respectively mips32 and mips32r2 compliant. So with the current
processor configuration, a platform that has such CPUs needs to select
both configs:
CPU_HAS_SMARTMIPS
SYS_HAS_CPU_MIPS32_R[12]
This is due to the processor configuration which is mixing up all the
architecture variants and the processor types.
The drawback of this, is that we currently pass '-march=mips32' option to
gcc when building a kernel instead of '-march=4ksc' for 4KSC case. This
can lead to a kernel image a little bit bigger than required.
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/configs/cobalt_defconfig')
-rw-r--r-- | arch/mips/configs/cobalt_defconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/configs/cobalt_defconfig b/arch/mips/configs/cobalt_defconfig index f88c40fc9948..9090a7aba6c1 100644 --- a/arch/mips/configs/cobalt_defconfig +++ b/arch/mips/configs/cobalt_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.20 | 3 | # Linux kernel version: 2.6.20 |
4 | # Mon Feb 19 14:51:58 2007 | 4 | # Tue Feb 20 21:47:24 2007 |
5 | # | 5 | # |
6 | CONFIG_MIPS=y | 6 | CONFIG_MIPS=y |
7 | 7 | ||
@@ -425,7 +425,7 @@ CONFIG_MTD_CFI_UTIL=y | |||
425 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 425 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
426 | CONFIG_MTD_PHYSMAP=y | 426 | CONFIG_MTD_PHYSMAP=y |
427 | CONFIG_MTD_PHYSMAP_START=0x0 | 427 | CONFIG_MTD_PHYSMAP_START=0x0 |
428 | CONFIG_MTD_PHYSMAP_LEN=0 | 428 | CONFIG_MTD_PHYSMAP_LEN=0x0 |
429 | CONFIG_MTD_PHYSMAP_BANKWIDTH=0 | 429 | CONFIG_MTD_PHYSMAP_BANKWIDTH=0 |
430 | # CONFIG_MTD_PLATRAM is not set | 430 | # CONFIG_MTD_PLATRAM is not set |
431 | 431 | ||
@@ -449,7 +449,6 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=0 | |||
449 | # NAND Flash Device Drivers | 449 | # NAND Flash Device Drivers |
450 | # | 450 | # |
451 | # CONFIG_MTD_NAND is not set | 451 | # CONFIG_MTD_NAND is not set |
452 | # CONFIG_MTD_NAND_CAFE is not set | ||
453 | 452 | ||
454 | # | 453 | # |
455 | # OneNAND Flash Device Drivers | 454 | # OneNAND Flash Device Drivers |
@@ -464,6 +463,7 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=0 | |||
464 | # | 463 | # |
465 | # Plug and Play support | 464 | # Plug and Play support |
466 | # | 465 | # |
466 | # CONFIG_PNPACPI is not set | ||
467 | 467 | ||
468 | # | 468 | # |
469 | # Block devices | 469 | # Block devices |
@@ -658,6 +658,7 @@ CONFIG_TULIP=y | |||
658 | # CONFIG_TIGON3 is not set | 658 | # CONFIG_TIGON3 is not set |
659 | # CONFIG_BNX2 is not set | 659 | # CONFIG_BNX2 is not set |
660 | CONFIG_QLA3XXX=y | 660 | CONFIG_QLA3XXX=y |
661 | # CONFIG_ATL1 is not set | ||
661 | 662 | ||
662 | # | 663 | # |
663 | # Ethernet (10000 Mbit) | 664 | # Ethernet (10000 Mbit) |