summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/conf
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-02-05 13:29:26 -0600
committerMark Hatle <mark.hatle@amd.com>2024-02-07 08:51:58 -0600
commit9dd34bac632fdc6b438a6bed7d05d3361c18a50b (patch)
treeeec5dc1b8f712179921db2d61eef5cc235bd031e /meta-xilinx-core/conf
parent9a47669a9fa73665e1e0478c01fa2847a352aa41 (diff)
downloadmeta-xilinx-9dd34bac632fdc6b438a6bed7d05d3361c18a50b.tar.gz
machine/include/arm: Backport tune files from master
Backport the tune files from poky master as of commit: dd4c941e9fe9e0f1b73a934d9ecd0d165ee85474 This adds support for cortex-r5 and cortexr-r52 hard float ABI, as well as cortex-a78. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/conf')
-rw-r--r--meta-xilinx-core/conf/machine/include/arm/armv7r/tune-cortexr5hf.inc6
-rw-r--r--meta-xilinx-core/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc16
-rw-r--r--meta-xilinx-core/conf/machine/include/arm/armv8r/tune-cortexr52hf.inc9
3 files changed, 31 insertions, 0 deletions
diff --git a/meta-xilinx-core/conf/machine/include/arm/armv7r/tune-cortexr5hf.inc b/meta-xilinx-core/conf/machine/include/arm/armv7r/tune-cortexr5hf.inc
new file mode 100644
index 00000000..5679b989
--- /dev/null
+++ b/meta-xilinx-core/conf/machine/include/arm/armv7r/tune-cortexr5hf.inc
@@ -0,0 +1,6 @@
1include conf/machine/include/arm/armv7r/tune-cortexr5.inc
2
3AVAILTUNES += "cortexr5hf"
4ARMPKGARCH:tune-cortexr5hf = "cortexr5"
5TUNE_FEATURES:tune-cortexr5hf = "${TUNE_FEATURES:tune-cortexr5} callconvention-hard"
6PACKAGE_EXTRA_ARCHS:tune-cortexr5hf = "cortexr5hf-vfpv3d16"
diff --git a/meta-xilinx-core/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc b/meta-xilinx-core/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc
new file mode 100644
index 00000000..8c85d98e
--- /dev/null
+++ b/meta-xilinx-core/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc
@@ -0,0 +1,16 @@
1#
2# Tune Settings for Cortex-A78
3#
4DEFAULTTUNE ?= "cortexa78"
5
6TUNEVALID[cortexa78] = "Enable Cortex-A78 specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa78', ' -mcpu=cortex-a78', '', d)}"
8
9require conf/machine/include/arm/arch-armv8-2a.inc
10
11# Little Endian base configs
12AVAILTUNES += "cortexa78"
13ARMPKGARCH:tune-cortexa78 = "cortexa78"
14TUNE_FEATURES:tune-cortexa78 = "${TUNE_FEATURES:tune-armv8-2a-crypto} cortexa78"
15PACKAGE_EXTRA_ARCHS:tune-cortexa78 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa78"
16BASE_LIB:tune-cortexa78 = "lib64"
diff --git a/meta-xilinx-core/conf/machine/include/arm/armv8r/tune-cortexr52hf.inc b/meta-xilinx-core/conf/machine/include/arm/armv8r/tune-cortexr52hf.inc
new file mode 100644
index 00000000..42c6fb37
--- /dev/null
+++ b/meta-xilinx-core/conf/machine/include/arm/armv8r/tune-cortexr52hf.inc
@@ -0,0 +1,9 @@
1require conf/machine/include/arm/armv8r/tune-cortexr52.inc
2
3# simd is special, we don't pass this to the -mfpu, it's implied
4TUNE_CCARGS_MFLOAT = "${@ bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hard', 'softfp', d) if (d.getVar('TUNE_CCARGS_MFPU') != '' or bb.utils.contains('TUNE_FEATURES', 'simd', True, False, d)) else '' }"
5
6AVAILTUNES += "cortexr52hf"
7ARMPKGARCH:tune-cortexr52hf = "cortexr52"
8TUNE_FEATURES:tune-cortexr52hf = "${TUNE_FEATURES:tune-cortexr52} callconvention-hard"
9PACKAGE_EXTRA_ARCHS:tune-cortexr52hf = "cortexr52hf"