diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-05-05 16:33:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-12 15:20:42 +0100 |
commit | ee19781d886fdaa6472888e0041918f246f1c425 (patch) | |
tree | b9b3a9df544d55af5a86ba6b4a503bac4ff918f4 /meta/conf | |
parent | 1d7e769149c5ec41181f7bfef1e42f60e246e456 (diff) | |
download | poky-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')
-rw-r--r-- | meta/conf/machine/include/tune-cortexa55.inc | 17 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa73-cortexa53.inc | 23 |
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 @@ | |||
1 | DEFAULTTUNE ?= "cortexa55" | ||
2 | |||
3 | TUNEVALID[cortexa55] = "Enable Cortex-A55 specific processor optimizations" | ||
4 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa55', ' -mcpu=cortex-a55', '', d)}" | ||
5 | |||
6 | require conf/machine/include/arm/arch-armv8a.inc | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "cortexa55 cortexa55-crypto" | ||
10 | ARMPKGARCH_tune-cortexa55 = "cortexa55" | ||
11 | ARMPKGARCH_tune-cortexa55-crypto = "cortexa55" | ||
12 | TUNE_FEATURES_tune-cortexa55 = "aarch64 cortexa55 crc" | ||
13 | TUNE_FEATURES_tune-cortexa55-crypto = "aarch64 cortexa55 crc crypto" | ||
14 | PACKAGE_EXTRA_ARCHS_tune-cortexa55 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa55" | ||
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa55-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa55 cortexa55-crypto" | ||
16 | BASE_LIB_tune-cortexa55 = "lib64" | ||
17 | BASE_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 @@ | |||
1 | DEFAULTTUNE ?= "cortexa73-cortexa53" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv8a.inc | ||
4 | |||
5 | TUNEVALID[cortexa73-cortexa53] = "Enable big.LITTLE Cortex-A73.Cortex-A53 specific processor optimizations" | ||
6 | |||
7 | TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a" | ||
8 | |||
9 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa73-cortexa53", "cortexa73-cortexa53:", "" ,d)}" | ||
10 | |||
11 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa73-cortexa53", " -mtune=cortex-a73.cortex-a53", "", d)}" | ||
12 | |||
13 | # cortexa73.cortexa53 implies crc support | ||
14 | AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto" | ||
15 | ARMPKGARCH_tune-cortexa73-cortexa53 = "cortexa73-cortexa53" | ||
16 | ARMPKGARCH_tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53" | ||
17 | TUNE_FEATURES_tune-cortexa73-cortexa53 = "${TUNE_FEATURES_tune-armv8a-crc} cortexa73-cortexa53" | ||
18 | TUNE_FEATURES_tune-cortexa73-cortexa53-crypto = "${TUNE_FEATURES_tune-armv8a-crc-crypto} cortexa73-cortexa53" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa73-cortexa53" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa73-cortexa53 cortexa73-cortexa53-crypto" | ||
21 | BASE_LIB_tune-cortexa73-cortexa53 = "lib64" | ||
22 | BASE_LIB_tune-cortexa73-cortexa53-crypto = "lib64" | ||
23 | |||