aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/mach-octeontx2/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/mach-octeontx2/config.mk')
-rw-r--r--roms/u-boot/arch/arm/mach-octeontx2/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-octeontx2/config.mk b/roms/u-boot/arch/arm/mach-octeontx2/config.mk
new file mode 100644
index 000000000..9214f6b74
--- /dev/null
+++ b/roms/u-boot/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