diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-12-14 10:06:22 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:41 +0000 |
commit | baf505a0b8001c4767a92f6e95c041a13bfea788 (patch) | |
tree | e223c8419252c437e1e28b0f253f176112e81c18 /meta/conf | |
parent | a16e357f261c92bf7da12b630b3ecf4f09b31bbd (diff) | |
download | poky-baf505a0b8001c4767a92f6e95c041a13bfea788.tar.gz |
tune-cortexa72-cortexa53: Add tunes
Adds tunes for Cortex-A72 Cortex-A53 big.LITTLE SoCs (with and without
crypto extensions), e.g. Rockchip RK3399
(From OE-Core rev: 78a555b324c30b2970eaa046c5d86de7980e678a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/machine/include/tune-cortexa72-cortexa53.inc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexa72-cortexa53.inc b/meta/conf/machine/include/tune-cortexa72-cortexa53.inc new file mode 100644 index 0000000000..0d43531be7 --- /dev/null +++ b/meta/conf/machine/include/tune-cortexa72-cortexa53.inc | |||
@@ -0,0 +1,23 @@ | |||
1 | DEFAULTTUNE ?= "cortexa72-cortexa53" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv8a.inc | ||
4 | |||
5 | TUNEVALID[cortexa72-cortexa53] = "Enable big.LITTLE Cortex-A72.Cortex-A53 specific processor optimizations" | ||
6 | |||
7 | TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a" | ||
8 | |||
9 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa72-cortexa53", "cortexa72-cortexa53:", "" ,d)}" | ||
10 | |||
11 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa72-cortexa53", " -mtune=cortex-a72.cortex-a53", "", d)}" | ||
12 | |||
13 | # cortexa72.cortexa53 implies crc support | ||
14 | AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto" | ||
15 | ARMPKGARCH_tune-cortexa72-cortexa53 = "cortexa72-cortexa53" | ||
16 | ARMPKGARCH_tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53" | ||
17 | TUNE_FEATURES_tune-cortexa72-cortexa53 = "${TUNE_FEATURES_tune-armv8a-crc}" | ||
18 | TUNE_FEATURES_tune-cortexa72-cortexa53-crypto = "${TUNE_FEATURES_tune-armv8a-crc-crypto}" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa72-cortexa53" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72-cortexa53 cortexa72-cortexa53-crypto" | ||
21 | BASE_LIB_tune-cortexa72-cortexa53 = "lib64" | ||
22 | BASE_LIB_tune-cortexa72-cortexa53-crypto = "lib64" | ||
23 | |||