Skip to content

Commit

Permalink
config/arm: add AMD CDX
Browse files Browse the repository at this point in the history
Add meson build configuration for AMD CDX platform.

Signed-off-by: Nipun Gupta <nipun.gupta@amd.com>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
  • Loading branch information
nipung87 authored and tmonjalo committed Jun 27, 2023
1 parent 87337f1 commit 1f0a45e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions config/arm/arm64_cdx_linux_gcc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[binaries]
c = ['ccache', 'aarch64-linux-gnu-gcc']
cpp = ['ccache', 'aarch64-linux-gnu-g++']
ar = 'aarch64-linux-gnu-ar'
as = 'aarch64-linux-gnu-as'
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 = 'cdx'
14 changes: 14 additions & 0 deletions config/arm/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,18 @@ soc_bluefield = {
'numa': false
}

soc_cdx = {
'description': 'AMD CDX',
'implementer': '0x41',
'part_number': '0xd42',
'flags': [
['RTE_MACHINE', '"cdx"'],
['RTE_MAX_LCORE', 16],
['RTE_MAX_NUMA_NODES', 1]
],
'numa': false
}

soc_centriq2400 = {
'description': 'Qualcomm Centriq 2400',
'implementer': '0x51',
Expand Down Expand Up @@ -463,6 +475,7 @@ generic_aarch32: Generic un-optimized build for armv8 aarch32 execution mode.
armada: Marvell ARMADA
bluefield: NVIDIA BlueField
bluefield3: NVIDIA BlueField-3
cdx: AMD CDX
centriq2400: Qualcomm Centriq 2400
cn9k: Marvell OCTEON 9
cn10k: Marvell OCTEON 10
Expand Down Expand Up @@ -490,6 +503,7 @@ socs = {
'armada': soc_armada,
'bluefield': soc_bluefield,
'bluefield3': soc_bluefield3,
'cdx': soc_cdx,
'centriq2400': soc_centriq2400,
'cn9k': soc_cn9k,
'cn10k' : soc_cn10k,
Expand Down

0 comments on commit 1f0a45e

Please sign in to comment.