summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-05-05 16:33:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-12 15:20:42 +0100
commitee19781d886fdaa6472888e0041918f246f1c425 (patch)
treeb9b3a9df544d55af5a86ba6b4a503bac4ff918f4 /meta/conf/machine/include
parent1d7e769149c5ec41181f7bfef1e42f60e246e456 (diff)
downloadpoky-ee19781d886fdaa6472888e0041918f246f1c425.tar.gz
tunes: Add new tune files for cortexa55 and cortexa73-cortexa53
(From OE-Core rev: fd4a454b5a357c7a26792bf486212957c698839c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r--meta/conf/machine/include/tune-cortexa55.inc17
-rw-r--r--meta/conf/machine/include/tune-cortexa73-cortexa53.inc23
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexa55.inc b/meta/conf/machine/include/tune-cortexa55.inc
new file mode 100644
index 0000000000..8242cc9cef
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexa55.inc
@@ -0,0 +1,17 @@
1DEFAULTTUNE ?= "cortexa55"
2
3TUNEVALID[cortexa55] = "Enable Cortex-A55 specific processor optimizations"
4TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa55', ' -mcpu=cortex-a55', '', d)}"
5
6require conf/machine/include/arm/arch-armv8a.inc
7
8# Little Endian base configs
9AVAILTUNES += "cortexa55 cortexa55-crypto"
10ARMPKGARCH_tune-cortexa55 = "cortexa55"
11ARMPKGARCH_tune-cortexa55-crypto = "cortexa55"
12TUNE_FEATURES_tune-cortexa55 = "aarch64 cortexa55 crc"
13TUNE_FEATURES_tune-cortexa55-crypto = "aarch64 cortexa55 crc crypto"
14PACKAGE_EXTRA_ARCHS_tune-cortexa55 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa55"
15PACKAGE_EXTRA_ARCHS_tune-cortexa55-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa55 cortexa55-crypto"
16BASE_LIB_tune-cortexa55 = "lib64"
17BASE_LIB_tune-cortexa55-crypto = "lib64"
diff --git a/meta/conf/machine/include/tune-cortexa73-cortexa53.inc b/meta/conf/machine/include/tune-cortexa73-cortexa53.inc
new file mode 100644
index 0000000000..8df418227f
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexa73-cortexa53.inc
@@ -0,0 +1,23 @@
1DEFAULTTUNE ?= "cortexa73-cortexa53"
2
3require conf/machine/include/arm/arch-armv8a.inc
4
5TUNEVALID[cortexa73-cortexa53] = "Enable big.LITTLE Cortex-A73.Cortex-A53 specific processor optimizations"
6
7TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a"
8
9MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa73-cortexa53", "cortexa73-cortexa53:", "" ,d)}"
10
11TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa73-cortexa53", " -mtune=cortex-a73.cortex-a53", "", d)}"
12
13# cortexa73.cortexa53 implies crc support
14AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto"
15ARMPKGARCH_tune-cortexa73-cortexa53 = "cortexa73-cortexa53"
16ARMPKGARCH_tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53"
17TUNE_FEATURES_tune-cortexa73-cortexa53 = "${TUNE_FEATURES_tune-armv8a-crc} cortexa73-cortexa53"
18TUNE_FEATURES_tune-cortexa73-cortexa53-crypto = "${TUNE_FEATURES_tune-armv8a-crc-crypto} cortexa73-cortexa53"
19PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa73-cortexa53"
20PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa73-cortexa53 cortexa73-cortexa53-crypto"
21BASE_LIB_tune-cortexa73-cortexa53 = "lib64"
22BASE_LIB_tune-cortexa73-cortexa53-crypto = "lib64"
23