summaryrefslogtreecommitdiff
path: root/arch/arc/config.mk
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2015-02-03 13:58:19 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2015-02-09 16:41:20 +0300
commit51f4999bc5ad5f8430da0297d12c1abef9c05568 (patch)
tree45ff0944d840f2675efa300f9752395101d332e1 /arch/arc/config.mk
parent836d2cc2eef58c0d42d3112725dac475d0bd553e (diff)
downloadu-boot-51f4999bc5ad5f8430da0297d12c1abef9c05568.tar.gz
u-boot-51f4999bc5ad5f8430da0297d12c1abef9c05568.tar.bz2
u-boot-51f4999bc5ad5f8430da0297d12c1abef9c05568.zip
arc: move CPU flags selection to the main "config.mk"
As a preparation to ARCv2 port submission we're moving CPU slection flags to a common location. Also it will allow us to have more flexible CPU specification, not only ISA version but CPU family as well checking CONFIG_ARC_CPU_xxx. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arc/config.mk')
-rw-r--r--arch/arc/config.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 4f2d31feb3..3e75e606b3 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -27,8 +27,12 @@ ifdef CONFIG_ARC_MMU_VER
CONFIG_MMU = 1
endif
+ifdef CONFIG_CPU_ARC750D
+PLATFORM_CPPFLAGS += -marc700
+endif
+
ifdef CONFIG_CPU_ARC770D
-PLATFORM_CPPFLAGS += -mlock -mswape
+PLATFORM_CPPFLAGS += -marc700 -mlock -mswape
endif
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2