summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rules.mak1
-rw-r--r--extra/Configs/Config.arm4
2 files changed, 5 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index ce93d52a1..12eb92d68 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -168,6 +168,7 @@ ifeq ($(TARGET_ARCH),arm)
CPU_CFLAGS-$(CONFIG_GENERIC_ARM)+=
CPU_CFLAGS-$(CONFIG_ARM610)+=-mtune=arm610 -march=armv3
CPU_CFLAGS-$(CONFIG_ARM710)+=-mtune=arm710 -march=armv3
+ CPU_CFLAGS-$(CONFIG_ARM7TDMI)+=-mtune=arm7tdmi -march=armv4
CPU_CFLAGS-$(CONFIG_ARM720T)+=-mtune=arm7tdmi -march=armv4
CPU_CFLAGS-$(CONFIG_ARM920T)+=-mtune=arm9tdmi -march=armv4
CPU_CFLAGS-$(CONFIG_ARM922T)+=-mtune=arm9tdmi -march=armv4
diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
index 4ee187e3b..30f06085c 100644
--- a/extra/Configs/Config.arm
+++ b/extra/Configs/Config.arm
@@ -72,6 +72,10 @@ config CONFIG_ARM710
bool "Arm 710"
select ARCH_HAS_MMU
+config CONFIG_ARM7TDMI
+ bool "Arm 7TDMI"
+ select ARCH_HAS_NO_MMU
+
config CONFIG_ARM720T
bool "Arm 720T"
select ARCH_HAS_MMU