diff options
| author | ayaka <ayaka@soulik.info> | 2019-02-04 18:57:26 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-06 08:29:06 +0000 |
| commit | 2de809c9423e09f4152b2753ea13e78f5de0fef7 (patch) | |
| tree | 19498e489d1cea1fce8d3bdb8a2f75f268b857aa /meta/conf/machine | |
| parent | 43885d55d0766c2eb32dc6c60c817db2ce504fbd (diff) | |
| download | poky-2de809c9423e09f4152b2753ea13e78f5de0fef7.tar.gz | |
tune-cortexa53: add tunes for ARM Cortex-A53
It looks that the Cryptography engine is mandatory in this
platform.
https://developer.arm.com/products/processors/cortex-a/cortex-a53
(From OE-Core rev: 4f470b175bf03fb25ae3fef563ad317bc22338ae)
Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
| -rw-r--r-- | meta/conf/machine/include/tune-cortexa53.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexa53.inc b/meta/conf/machine/include/tune-cortexa53.inc new file mode 100644 index 0000000000..a9d9cdd1f5 --- /dev/null +++ b/meta/conf/machine/include/tune-cortexa53.inc | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | DEFAULTTUNE ?= "cortexa53" | ||
| 2 | |||
| 3 | TUNEVALID[cortexa53] = "Enable Cortex-A53 specific processor optimizations" | ||
| 4 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa53', ' -mcpu=cortex-a53', '', d)}" | ||
| 5 | |||
| 6 | require conf/machine/include/arm/arch-armv8a.inc | ||
| 7 | |||
| 8 | # Little Endian base configs | ||
| 9 | AVAILTUNES += "cortexa53 cortexa53-crypto" | ||
| 10 | ARMPKGARCH_tune-cortexa53 = "cortexa53" | ||
| 11 | ARMPKGARCH_tune-cortexa53-crypto = "cortexa53" | ||
| 12 | TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 simd crc" | ||
| 13 | TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 simd crc crypto" | ||
| 14 | PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53" | ||
| 15 | PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" | ||
