Adding support for marvell thunderX t83 platform.

Signed-off-by: Harman Kalra <hka...@marvell.com>
Acked-by: Ruifeng Wang <ruifeng.w...@arm.com>
---
V2:
 * Seperated out this patch from the series
 * updated commit message

 config/arm/arm64_thunderxt83_linux_gcc | 16 ++++++++++++++++
 config/arm/meson.build                 | 12 ++++++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)
 create mode 100644 config/arm/arm64_thunderxt83_linux_gcc

diff --git a/config/arm/arm64_thunderxt83_linux_gcc 
b/config/arm/arm64_thunderxt83_linux_gcc
new file mode 100644
index 0000000000..47102c900b
--- /dev/null
+++ b/config/arm/arm64_thunderxt83_linux_gcc
@@ -0,0 +1,16 @@
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-cpp'
+ar = 'aarch64-linux-gnu-gcc-ar'
+strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+pcap-config = ''
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8-a'
+endian = 'little'
+
+[properties]
+platform = 'thunderxt83'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 8aead74086..bfa482de6b 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -119,7 +119,7 @@ implementer_cavium = {
             'flags': flags_part_number_thunderx
         },
         '0xa3': {
-            'compiler_options': ['-mcpu=thunderxt83'],
+            'compiler_options': ['-march=armv8-a+crc', '-mcpu=thunderxt83'],
             'flags': flags_part_number_thunderx
         },
         '0xaf': {
@@ -371,6 +371,12 @@ soc_thunderxt88 = {
     'part_number': '0xa1'
 }
 
+soc_thunderxt83 = {
+    'description': 'Marvell ThunderX T83',
+    'implementer': '0x43',
+    'part_number': '0xa3'
+}
+
 '''
 Start of SoCs list
 generic:         Generic un-optimized build for armv8 aarch64 execution mode.
@@ -390,6 +396,7 @@ n2:              Arm Neoverse N2
 stingray:        Broadcom Stingray
 thunderx2:       Marvell ThunderX2 T99
 thunderxt88:     Marvell ThunderX T88
+thunderxt83:     Marvell ThunderX T83
 End of SoCs list
 '''
 # The string above is included in the documentation, keep it in sync with the
@@ -411,7 +418,8 @@ socs = {
     'n2': soc_n2,
     'stingray': soc_stingray,
     'thunderx2': soc_thunderx2,
-    'thunderxt88': soc_thunderxt88
+    'thunderxt88': soc_thunderxt88,
+    'thunderxt83': soc_thunderxt83
 }
 
 dpdk_conf.set('RTE_ARCH_ARM', 1)
-- 
2.18.0

Reply via email to