summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2019-06-18 14:45:32 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2019-06-19 17:05:39 -0300
commit6d9e595a27338ac7953950cf8957687b715ba34a (patch)
tree687eb18cfd082e28e9917eafebf5b742d86b4202 /conf
parente1302244da48e73daf5b83351daa7dcc85e98f7a (diff)
downloadmeta-freescale-6d9e595a27338ac7953950cf8957687b715ba34a.tar.gz
mx8mm: use cortexa53-crypto tune for imx8m mini per default
Current implementation of i.MX8M Mini is utilizing generic aarch64 tune (arch-arm64) provided from OE meta layer. According to IMX8MMRM [1] this CPU contains Cortex-A53 cores, so this commit sets a default tune to cortexa53-crypto. Note, that according to [1] ARM Crypto extensions are supported, therefore it is beneficial to set the tune to -crypto, as this also enables NEON and VFP support in GCC (via -march and -mcpu feature modifiers, see [2]). [1]: https://www.nxp.com/webapp/Download?colCode=IMX8MMRM [2]: https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#aarch64-feature-modifiers Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/imx8mmevk.conf2
-rw-r--r--conf/machine/include/imx-base.inc1
2 files changed, 2 insertions, 1 deletions
diff --git a/conf/machine/imx8mmevk.conf b/conf/machine/imx8mmevk.conf
index e22bd4eb..6c92ac3a 100644
--- a/conf/machine/imx8mmevk.conf
+++ b/conf/machine/imx8mmevk.conf
@@ -7,7 +7,7 @@
7MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:" 7MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:"
8 8
9require conf/machine/include/imx-base.inc 9require conf/machine/include/imx-base.inc
10require conf/machine/include/arm/arch-arm64.inc 10require conf/machine/include/tune-cortexa53.inc
11 11
12MACHINE_FEATURES += " pci wifi bluetooth optee qca9377 qca6174" 12MACHINE_FEATURES += " pci wifi bluetooth optee qca9377 qca6174"
13 13
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index ffc46c11..b6fc40d3 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -61,6 +61,7 @@ DEFAULTTUNE_mx6ul ?= "cortexa7thf-neon"
61DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon" 61DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon"
62DEFAULTTUNE_mx7 ?= "cortexa7thf-neon" 62DEFAULTTUNE_mx7 ?= "cortexa7thf-neon"
63DEFAULTTUNE_vf ?= "cortexa5thf-neon" 63DEFAULTTUNE_vf ?= "cortexa5thf-neon"
64DEFAULTTUNE_mx8mm ?= "cortexa53-crypto"
64 65
65INHERIT += "machine-overrides-extender" 66INHERIT += "machine-overrides-extender"
66 67