summaryrefslogtreecommitdiffstats
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-21 18:16:44 -0300
commit75909e58ad2df02f9d894e959eec6547e7847f92 (patch)
tree5474649a859880d1e7dc8e0650df42842807115c
parenta532e54903ea83717fcb18cd5fef6011850f3df4 (diff)
downloadmeta-freescale-75909e58ad2df02f9d894e959eec6547e7847f92.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>
-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 9e88935c..58ec1b1b 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