diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2015-02-03 13:58:11 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2015-02-09 16:41:20 +0300 |
commit | 812980bdd6c9112014f3946d1cb2728a2121ba34 (patch) | |
tree | 161fe045165e4b7442b28c4c4aebf2ec1eab6585 /arch/arc/config.mk | |
parent | 832325c18d1d68e0ee46810f788421865f6372d9 (diff) | |
download | u-boot-imx-812980bdd6c9112014f3946d1cb2728a2121ba34.zip u-boot-imx-812980bdd6c9112014f3946d1cb2728a2121ba34.tar.gz u-boot-imx-812980bdd6c9112014f3946d1cb2728a2121ba34.tar.bz2 |
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.mk | 4 |
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 |