summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHonnappa Nagarahalli <[email protected]>2024-02-20 01:45:31 +0000
committerThomas Monjalon <[email protected]>2024-03-06 15:55:12 +0100
commitbdf640df41bbb3fb4455b8b1d48091b5a4e9cf4a (patch)
tree0979aa555945624376cc0908573aaf73a2908414 /config
parent06eb6d9df58b67a5fe2eab7178bdf3ca0132fc8b (diff)
config/arm: add generic V2 SoC
Add generic V2 CPU SoC. This will allow for compiling a binary that will run on any SoC that uses V2 CPU. Signed-off-by: Honnappa Nagarahalli <[email protected]> Reviewed-by: Wathsala Vithanage <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/arm/arm64_v2_linux_gcc16
-rw-r--r--config/arm/meson.build9
2 files changed, 25 insertions, 0 deletions
diff --git a/config/arm/arm64_v2_linux_gcc b/config/arm/arm64_v2_linux_gcc
new file mode 100644
index 0000000000..50d9be3da3
--- /dev/null
+++ b/config/arm/arm64_v2_linux_gcc
@@ -0,0 +1,16 @@
+[binaries]
+c = ['ccache', 'aarch64-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-linux-gnu-g++']
+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 = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'v2'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 850d837221..1a78c2abf0 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -567,6 +567,13 @@ soc_bluefield3 = {
'numa': false
}
+soc_v2 = {
+ 'description': 'Arm Neoverse V2',
+ 'implementer': '0x41',
+ 'part_number': '0xd4f',
+ 'numa': true
+}
+
'''
Start of SoCs list
generic: Generic un-optimized build for armv8 aarch64 execution mode.
@@ -597,6 +604,7 @@ stingray: Broadcom Stingray
thunderx2: Marvell ThunderX2 T99
thunderxt88: Marvell ThunderX T88
thunderxt83: Marvell ThunderX T83
+v2: Arm Neoverse V2
End of SoCs list
'''
# The string above is included in the documentation, keep it in sync with the
@@ -630,6 +638,7 @@ socs = {
'thunderx2': soc_thunderx2,
'thunderxt88': soc_thunderxt88,
'thunderxt83': soc_thunderxt83,
+ 'v2': soc_v2,
}
dpdk_conf.set('RTE_ARCH_ARM', 1)