aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorayaka <ayaka@soulik.info>2019-02-04 18:57:25 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-06 08:29:02 +0000
commit8a3c9ed2865743d3de9fe47d44f1118f7491627b (patch)
treedbfd08ed700165a56aaa59beac176ebd9a0761e9 /meta/conf
parente436a754b5c23760be4a616e8fab4ce55b285c9c (diff)
downloadopenembedded-core-contrib-8a3c9ed2865743d3de9fe47d44f1118f7491627b.tar.gz
openembedded-core-contrib-8a3c9ed2865743d3de9fe47d44f1118f7491627b.tar.bz2
openembedded-core-contrib-8a3c9ed2865743d3de9fe47d44f1118f7491627b.zip
tune-cortexa35: add tunes for ARM Cortex-A35
https://developer.arm.com/products/processors/cortex-a/cortex-a35 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')
-rw-r--r--meta/conf/machine/include/tune-cortexa35.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexa35.inc b/meta/conf/machine/include/tune-cortexa35.inc
new file mode 100644
index 0000000000..4cf00844e8
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexa35.inc
@@ -0,0 +1,15 @@
+DEFAULTTUNE ?= "cortexa35"
+
+TUNEVALID[cortexa35] = "Enable Cortex-A35 specific processor optimizations"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa35', ' -mcpu=cortex-a35', '', d)}"
+
+require conf/machine/include/arm/arch-armv8a.inc
+
+# Little Endian base configs
+AVAILTUNES += "cortexa35 cortexa35-crypto"
+ARMPKGARCH_tune-cortexa35 = "cortexa35"
+ARMPKGARCH_tune-cortexa35-crypto = "cortexa35"
+TUNE_FEATURES_tune-cortexa35 = "aarch64 cortexa53 simd crc"
+TUNE_FEATURES_tune-cortexa35-crypto = "aarch64 cortexa35 simd crc crypto"
+PACKAGE_EXTRA_ARCHS_tune-cortexa35 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa35"
+PACKAGE_EXTRA_ARCHS_tune-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa35 cortexa35-crypto"