From: Harman Kalra <[email protected]> Add config support to cross compile for Marvell CN20k SoC. Marvell CN20k SoC is based on ARM Neoverse N3 cores.
Signed-off-by: Harman Kalra <[email protected]> --- config/arm/arm64_cn20k_linux_gcc | 17 +++++++++++++++++ config/arm/meson.build | 12 ++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 config/arm/arm64_cn20k_linux_gcc diff --git a/config/arm/arm64_cn20k_linux_gcc b/config/arm/arm64_cn20k_linux_gcc new file mode 100644 index 000000000000..c8362a28c92d --- /dev/null +++ b/config/arm/arm64_cn20k_linux_gcc @@ -0,0 +1,17 @@ +[binaries] +c = ['ccache', 'aarch64-marvell-linux-gnu-gcc'] +cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++'] +ar = 'aarch64-marvell-linux-gnu-gcc-ar' +strip = 'aarch64-marvell-linux-gnu-strip' +pkgconfig = 'aarch64-marvell-linux-gnu-pkg-config' +pcap-config = '' +cmake = 'cmake' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8.7-a' +endian = 'little' + +[properties] +platform = 'cn20k' diff --git a/config/arm/meson.build b/config/arm/meson.build index b84535735923..76ece0ff5169 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -494,6 +494,16 @@ soc_cobalt100 = { 'extra_march_features': ['crypto'], 'numa': true } +soc_cn20k = { + 'description' : 'Marvell OCTEON 20', + 'implementer' : '0x41', + 'flags': [ + ['RTE_MAX_LCORE', 42], + ['RTE_MAX_NUMA_NODES', 1] + ], + 'part_number': '0xd8e', + 'numa': false +} soc_dpaa = { 'description': 'NXP DPAA', @@ -764,6 +774,7 @@ centriq2400: Qualcomm Centriq 2400 cn9k: Marvell OCTEON 9 cn10k: Marvell OCTEON 10 cobalt100: Microsoft Azure Cobalt 100 +cn20k: Marvell OCTEON 20 dpaa: NXP DPAA elba: AMD Pensando Elba emag: Ampere eMAG @@ -808,6 +819,7 @@ socs = { 'cn9k': soc_cn9k, 'cn10k' : soc_cn10k, 'cobalt100' : soc_cobalt100, + 'cn20k' : soc_cn20k, 'dpaa': soc_dpaa, 'elba': soc_elba, 'emag': soc_emag, -- 2.50.1 (Apple Git-155)

