diff options
author | Thuy Tran <thuy.tran.xh@renesas.com> | 2019-03-22 16:33:48 +0900 |
---|---|---|
committer | Duy Dang <duy.dang.yw@renesas.com> | 2019-09-23 11:16:48 +0700 |
commit | 22bd288f7ae7553597bcc9ad9f8d0321edb1c342 (patch) | |
tree | ced0a1c4774edf0ff5dab11a44dde7f8a7af70fa /meta-rcar-gen3/conf/machine/include/tune-cortexa57-cortexa53.inc | |
parent | 5e522833945dc2b26860eba3f88afebf5225da84 (diff) |
rcar-gen3: Use more appropriate tunes
From YP2.7, OE-Core has supported tune files for ARM Cortex-A53 [1]
and ARMv8 [2].
This commit modifies to use the new implementation which is
armv8+crc now.
[1] Poky rev: 2de809c9423e09f4152b2753ea13e78f5de0fef7
[2] Poky rev: 867032eba7c58fd104f1dd051b0fb802e92a73b5
Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Change-Id: Ib6af0a298f719e1eefe10f02c3d174fce47cd131
Diffstat (limited to 'meta-rcar-gen3/conf/machine/include/tune-cortexa57-cortexa53.inc')
-rw-r--r-- | meta-rcar-gen3/conf/machine/include/tune-cortexa57-cortexa53.inc | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/meta-rcar-gen3/conf/machine/include/tune-cortexa57-cortexa53.inc b/meta-rcar-gen3/conf/machine/include/tune-cortexa57-cortexa53.inc index 17f1f25..9215497 100644 --- a/meta-rcar-gen3/conf/machine/include/tune-cortexa57-cortexa53.inc +++ b/meta-rcar-gen3/conf/machine/include/tune-cortexa57-cortexa53.inc @@ -1,18 +1,20 @@ DEFAULTTUNE ?= "cortexa57-cortexa53" -require conf/machine/include/arm/arch-armv8.inc -TUNEVALID[cortexa57-cortexa53] = "Enable big.LITTLE Cortex-A57.Cortex-A53 specific processor optimizations" -TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a" - -TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", " -march=armv8-a", "" ,d)}" +TUNEVALID[cortexa57-cortexa53] = "Enable Cortex-A57.Cortex-A53 specific processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa57-cortexa53', ' -mcpu=cortex-a57.cortex-a53', '', d)}" MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa57-cortexa53", "cortexa57-cortexa53:", "" ,d)}" +TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a" -TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa57-cortexa53", " -mtune=cortex-a57.cortex-a53", "", d)}" +require conf/machine/include/arm/arch-armv8a.inc # Little Endian base configs -AVAILTUNES += "cortexa57-cortexa53" -ARMPKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53" -TUNE_FEATURES_tune-cortexa57-cortexa53 = "${TUNE_FEATURES_tune-aarch64} cortexa57-cortexa53" -PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa57-cortexa53" -BASE_LIB_tune-cortexa57-cortexa53 = "lib64" +AVAILTUNES += "cortexa57-cortexa53 cortexa57-cortexa53-crypto" +ARMPKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53" +ARMPKGARCH_tune-cortexa57-cortexa53-crypto = "cortexa57-cortexa53" +TUNE_FEATURES_tune-cortexa57-cortexa53 = "aarch64 cortexa57-cortexa53 crc" +TUNE_FEATURES_tune-cortexa57-cortexa53-crypto = "aarch64 cortexa57-cortexa53 crc crypto" +PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa57-cortexa53" +PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa57-cortexa53 cortexa57-cortexa53-crypto" +BASE_LIB_tune-cortexa57-cortexa53 = "lib64" +BASE_LIB_tune-cortexa57-cortexa53-crypto = "lib64" |