summaryrefslogtreecommitdiff
path: root/arch/arm/mach-octeontx2/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-octeontx2/config.mk')
-rw-r--r--arch/arm/mach-octeontx2/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-octeontx2/config.mk b/arch/arm/mach-octeontx2/config.mk
new file mode 100644
index 0000000000..9214f6b742
--- /dev/null
+++ b/arch/arm/mach-octeontx2/config.mk
@@ -0,0 +1,4 @@
+ifeq ($(CONFIG_ARCH_OCTEONTX2),y)
+PLATFORM_CPPFLAGS += $(call cc-option,-march=armv8.2-a,)
+PLATFORM_CPPFLAGS += $(call cc-option,-mtune=octeontx2,)
+endif