diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2020-12-07 17:09:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-09 12:20:33 +0000 |
commit | df70a725d849f6e886f9ef0b9b99cf7414d05a8e (patch) | |
tree | 08e96d9be6b0950cadec369043897e7fdc70fc7d /meta/conf/machine/include/arm | |
parent | 5a6aaf745f52feac5697149c7dfdaf82bb07274b (diff) | |
download | poky-df70a725d849f6e886f9ef0b9b99cf7414d05a8e.tar.gz |
tune-octeontx2.inc: Add tune for Marvell OCTEON TX2 core
The OCTEON TX2 core is custom designed by Marvell and is compliant
with Arm V8.2 architecture.
(From OE-Core rev: ad4f82742c6f32b35e2b965a32cccc96aad02d19)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm')
-rw-r--r-- | meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc b/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc new file mode 100644 index 0000000000..f873b9517e --- /dev/null +++ b/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc | |||
@@ -0,0 +1,13 @@ | |||
1 | DEFAULTTUNE ?= "octeontx2" | ||
2 | |||
3 | TUNEVALID[octeontx2] = "Enable Marvell octeontx2 specific processor optimizations" | ||
4 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeontx2', ' -mcpu=octeontx2', '', d)}" | ||
5 | |||
6 | require conf/machine/include/arm/arch-armv8-2a.inc | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "octeontx2" | ||
10 | ARMPKGARCH_tune-octeontx2 = "octeontx2" | ||
11 | TUNE_FEATURES_tune-octeontx2 = "${TUNE_FEATURES_tune-armv8-2a-crypto} octeontx2" | ||
12 | PACKAGE_EXTRA_ARCHS_tune-octeontx2 = "${PACKAGE_EXTRA_ARCHS_tune-armv8-2a-crypto} octeontx2" | ||
13 | BASE_LIB_tune-octeontx2 = "lib64" | ||