summaryrefslogtreecommitdiff
path: root/arch/arc/config.mk
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2015-02-03 10:58:11 (GMT)
committerAlexey Brodkin <abrodkin@synopsys.com>2015-02-09 13:41:20 (GMT)
commit812980bdd6c9112014f3946d1cb2728a2121ba34 (patch)
tree161fe045165e4b7442b28c4c4aebf2ec1eab6585 /arch/arc/config.mk
parent832325c18d1d68e0ee46810f788421865f6372d9 (diff)
downloadu-boot-fsl-qoriq-812980bdd6c9112014f3946d1cb2728a2121ba34.tar.xz
arc: add more flavours of ARC700 series CPU
Now we may select a particular version of ARC700: * ARC750D or * ARC770D It allows more flexible (or more fine tuned) configuration of U-Boot. Before that change we relied on minimal configuration but now we may use specific features of each CPU. Moreover allows us to escape manual selection of options that exist in both CPUs but may have say different version like MMUv2 in ARC750D vs MMUv3 in ARC770D. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arc/config.mk')
-rw-r--r--arch/arc/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 5321987..dd180ef 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -25,6 +25,10 @@ ifdef CONFIG_ARC_MMU_VER
CONFIG_MMU = 1
endif
+ifdef CONFIG_CPU_ARC770D
+PLATFORM_CPPFLAGS += -mlock -mswape
+endif
+
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2
# Needed for relocation