diff options
author | Andrew Davis <afd@ti.com> | 2025-01-21 14:08:25 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-01-22 15:08:56 -0600 |
commit | ac7a646fce132c70015bc0e3ed3e15dd7df4c4bb (patch) | |
tree | 753701d4b38a99b8181835b84549ef94c6a0a19b | |
parent | a98ed702157f009628c1c7655a60de2b54cbd4a5 (diff) | |
download | meta-ti-ac7a646fce132c70015bc0e3ed3e15dd7df4c4bb.tar.gz |
conf: machine: k3: Use Cortex-A53/A72 CPU tune
All current K3 devices use either A53 or A72. Use the compile tune
configuration specific for these to allow the compiler to make
better optimizations.
Default tune here is weakly set to a lowest common denominator of
aarch64, as before, which is a recommended behavior for a BSP layer.
This allows for greater binary reuse (packages, sstate, etc.) across
different platforms of the same architecture in multi-BSP environments.
At the same time, since all the correct tunes are now configured for
K3 devices, one can elevate compiler optimization levels either from
local.conf or own Distro configuration on a per-SoC or per-device
basis, like so:
DEFAULTTUNE:k3 = "armv8a-crc"
DEFAULTTUNE:j721e = "cortexa72-cortexa53"
DEFAULTTUNE:beagleplay = "cortexa72-cortexa53"
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index a296f64f..dd3cbeca 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -3,7 +3,8 @@ | |||
3 | require conf/machine/include/ti-soc.inc | 3 | require conf/machine/include/ti-soc.inc |
4 | SOC_FAMILY:append = ":k3" | 4 | SOC_FAMILY:append = ":k3" |
5 | 5 | ||
6 | require conf/machine/include/arm/arch-arm64.inc | 6 | DEFAULTTUNE ?= "aarch64" |
7 | require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc | ||
7 | 8 | ||
8 | require conf/machine/include/ti-bsp.inc | 9 | require conf/machine/include/ti-bsp.inc |
9 | 10 | ||