summaryrefslogtreecommitdiffstats
path: root/arch/arc/config.mk
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2015-01-13 18:35:46 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2015-02-13 09:17:51 +0300
commitf13606b77d32344d35f6430eb45cffd47302e244 (patch)
tree51f37e30744315357efdec447a3ccb2d11ef56f0 /arch/arc/config.mk
parentbd2a4888b123713adec271d6c8040ca9f609aa2f (diff)
downloadtalos-obmc-uboot-f13606b77d32344d35f6430eb45cffd47302e244.tar.gz
talos-obmc-uboot-f13606b77d32344d35f6430eb45cffd47302e244.zip
arc: introduce U-Boot port for ARCv2 ISA
ARC HS and ARC EM are new cores based on ARCv2 ISA which is binary incompatible with ISAv1 (AKA ARCompact). Significant difference between ISAv2 and v1 is implementation of interrupt vector table. In v1 it is implemented in the same way as on many other architectures - as a special location where user may put whether code executed in place (if machine word of space is enough) or jump to a full-scale interrupt handler. In v2 interrupt table is just an array of adresses of real interrupt handlers. That requires a separate section for IVT that is not encoded as code by assembler. This change adds support for following cores: * ARC EM6 (simple 32-bit microcontroller without MMU) * ARC HS36 (advanced 32-bit microcontroller without MMU) * ARC HS38 (advanced 32-bit microcontroller with MMU) As a part of ARC HS38 new version of MMU (v4) was introduced. Also this change adds AXS131 board which is the same DW ARC SDP base board but with ARC HS38 CPU tile. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arc/config.mk')
-rw-r--r--arch/arc/config.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index f1e81b6895..4fcd4076c4 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -38,6 +38,18 @@ ifdef CONFIG_CPU_ARC770D
PLATFORM_CPPFLAGS += -marc700 -mlock -mswape
endif
+ifdef CONFIG_CPU_ARCEM6
+PLATFORM_CPPFLAGS += -marcem
+endif
+
+ifdef CONFIG_CPU_ARCHS34
+PLATFORM_CPPFLAGS += -marchs
+endif
+
+ifdef CONFIG_CPU_ARCHS38
+PLATFORM_CPPFLAGS += -marchs
+endif
+
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2
# Needed for relocation
OpenPOWER on IntegriCloud