diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2019-06-18 14:45:32 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-06-19 17:05:39 -0300 |
commit | 6d9e595a27338ac7953950cf8957687b715ba34a (patch) | |
tree | 687eb18cfd082e28e9917eafebf5b742d86b4202 | |
parent | e1302244da48e73daf5b83351daa7dcc85e98f7a (diff) | |
download | meta-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>
-rw-r--r-- | conf/machine/imx8mmevk.conf | 2 | ||||
-rw-r--r-- | conf/machine/include/imx-base.inc | 1 |
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 @@ | |||
7 | MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:" | 7 | MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:" |
8 | 8 | ||
9 | require conf/machine/include/imx-base.inc | 9 | require conf/machine/include/imx-base.inc |
10 | require conf/machine/include/arm/arch-arm64.inc | 10 | require conf/machine/include/tune-cortexa53.inc |
11 | 11 | ||
12 | MACHINE_FEATURES += " pci wifi bluetooth optee qca9377 qca6174" | 12 | MACHINE_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" | |||
61 | DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon" | 61 | DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon" |
62 | DEFAULTTUNE_mx7 ?= "cortexa7thf-neon" | 62 | DEFAULTTUNE_mx7 ?= "cortexa7thf-neon" |
63 | DEFAULTTUNE_vf ?= "cortexa5thf-neon" | 63 | DEFAULTTUNE_vf ?= "cortexa5thf-neon" |
64 | DEFAULTTUNE_mx8mm ?= "cortexa53-crypto" | ||
64 | 65 | ||
65 | INHERIT += "machine-overrides-extender" | 66 | INHERIT += "machine-overrides-extender" |
66 | 67 | ||