summaryrefslogtreecommitdiff
path: root/arch/arm/mach-octeontx2/config.mk
diff options
context:
space:
mode:
authorSuneel Garapati <sgarapati@marvell.com>2019-10-19 18:47:37 -0700
committerStefan Roese <sr@denx.de>2020-08-25 08:01:16 +0200
commit0a668f6d38a2a631eb872f4f1107399db46b1c15 (patch)
treed5d01bd1b1b619a47adbc99fd65272e4b71957ef /arch/arm/mach-octeontx2/config.mk
parent03c2288070155ee88d0c3341748a1b2b13418d8c (diff)
arm: octeontx2: Add support for OcteonTX2 SoC platforms
This patch adds support for all OcteonTX2 96xx/95xx boards from Marvell. For 96xx boards, use octeontx_96xx_defconfig and for 95xx boards, use octeontx_95xx_defconfig. Signed-off-by: Suneel Garapati <sgarapati@marvell.com>
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