]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arc/config.mk
arc: move CPU flags selection to the main "config.mk"
[people/ms/u-boot.git] / arch / arc / config.mk
index 4f2d31feb3e02ab772e70cfcd3c55682a84ddffb..3e75e606b3fde6cf876d52183f1a8eb372317b4b 100644 (file)
@@ -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