]> code.ossystems Code Review - meta-freescale.git/commitdiff
mx8mm: use cortexa53-crypto tune for imx8m mini per default
authorAndrey Zhizhikin <andrey.z@gmail.com>
Tue, 18 Jun 2019 14:45:32 +0000 (14:45 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 21 Jun 2019 21:16:44 +0000 (18:16 -0300)
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>
conf/machine/imx8mmevk.conf
conf/machine/include/imx-base.inc

index e22bd4ebe9a1defa9d9b1d5cf0c6274acad04d63..6c92ac3a44def2e8d87912893d42b6de8441d0f6 100644 (file)
@@ -7,7 +7,7 @@
 MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:"
 
 require conf/machine/include/imx-base.inc
-require conf/machine/include/arm/arch-arm64.inc
+require conf/machine/include/tune-cortexa53.inc
 
 MACHINE_FEATURES += " pci wifi bluetooth optee qca9377 qca6174"
 
index 9e88935c8e1b9dde36e9036d11c1bc6fb1dae002..58ec1b1b541c8766c98e8a068a7f859be008bcc5 100644 (file)
@@ -61,6 +61,7 @@ DEFAULTTUNE_mx6ul ?= "cortexa7thf-neon"
 DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon"
 DEFAULTTUNE_mx7 ?= "cortexa7thf-neon"
 DEFAULTTUNE_vf ?= "cortexa5thf-neon"
+DEFAULTTUNE_mx8mm ?= "cortexa53-crypto"
 
 INHERIT += "machine-overrides-extender"