From 6e7076f04dcd6c633d075cd918f486c3ca0f2e15 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 7 Oct 2006 06:54:35 +0000 Subject: Add config options to select ARM ARMv5 and Intel iwmmxt variants. --- Rules.mak | 2 ++ extra/Configs/Config.arm | 8 ++++++++ 2 files changed, 10 insertions(+) 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 -- cgit v1.2.3