summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2006-10-07 06:54:35 +0000
committerKhem Raj <kraj@mvista.com>2006-10-07 06:54:35 +0000
commit6e7076f04dcd6c633d075cd918f486c3ca0f2e15 (patch)
tree0b063433845bbb7b3d6fd540f278a29adff96614
parentd0fa769212b66743c533c87735ca14adfddfc077 (diff)
Add config options to select ARM ARMv5 and Intel iwmmxt variants.
-rw-r--r--Rules.mak2
-rw-r--r--extra/Configs/Config.arm8
2 files changed, 10 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 0ebeda12b..f19529741 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -189,11 +189,13 @@ ifeq ($(TARGET_ARCH),arm)
CPU_CFLAGS-$(CONFIG_ARM920T)+=-mtune=arm9tdmi -march=armv4
CPU_CFLAGS-$(CONFIG_ARM922T)+=-mtune=arm9tdmi -march=armv4
CPU_CFLAGS-$(CONFIG_ARM926T)+=-mtune=arm9tdmi -march=armv5
+ CPU_CFLAGS-$(CONFIG_ARM10T)+=-mtune=arm10tdmi -march=armv5t
CPU_CFLAGS-$(CONFIG_ARM1136JF_S)+=-mtune=arm1136jf-s -march=armv6
CPU_CFLAGS-$(CONFIG_ARM_SA110)+=-mtune=strongarm110 -march=armv4
CPU_CFLAGS-$(CONFIG_ARM_SA1100)+=-mtune=strongarm1100 -march=armv4
CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110)
CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=-march=armv4 -Wa,-mcpu=xscale
+ CPU_CFLAGS-$(CONFIG_ARM_IWMMXT)+=-march=iwmmxt -Wa,-mcpu=iwmmxt -mabi=iwmmxt
endif
ifeq ($(TARGET_ARCH),mips)
diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
index 1b53cd61f..4b16472ad 100644
--- a/extra/Configs/Config.arm
+++ b/extra/Configs/Config.arm
@@ -85,6 +85,10 @@ config CONFIG_ARM926T
bool "Arm 926T"
select ARCH_HAS_MMU
+config CONFIG_ARM10T
+ bool "Arm 10T"
+ select ARCH_HAS_MMU
+
config CONFIG_ARM1136JF_S
bool "Arm 1136JF-S"
select ARCH_HAS_MMU
@@ -101,4 +105,8 @@ config CONFIG_ARM_XSCALE
bool "Intel Xscale"
select ARCH_HAS_MMU
+config CONFIG_ARM_IWMMXT
+ bool "Intel Xscale With WMMX PXA27x"
+ select ARCH_HAS_MMU
+
endchoice