diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-07 03:37:28 +0000 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-09 20:13:10 +0000 |
commit | bbdc313355338c1eae3e914eab74fe9cec6dc8f2 (patch) | |
tree | f4658f151c21af344aa7194419ef2ccdb267e0bf | |
parent | e5a56f328d34b9ec3ee9b3db383e6520e482556a (diff) | |
download | meta-xilinx-bbdc313355338c1eae3e914eab74fe9cec6dc8f2.tar.gz |
cortexa53-zynqmp/cortexa72-versal: Fix cortex based BSPs
The BSPs had defined their own internal tunes. Instead use the yocto
project default tunes.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/conf/machine/cortexa53-zynqmp.conf | 12 | ||||
-rw-r--r-- | meta-xilinx-bsp/conf/machine/cortexa72-versal.conf | 12 |
2 files changed, 2 insertions, 22 deletions
diff --git a/meta-xilinx-bsp/conf/machine/cortexa53-zynqmp.conf b/meta-xilinx-bsp/conf/machine/cortexa53-zynqmp.conf index 282624ee..3de6c1c6 100644 --- a/meta-xilinx-bsp/conf/machine/cortexa53-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/cortexa53-zynqmp.conf | |||
@@ -1,16 +1,6 @@ | |||
1 | DEFAULTTUNE ?= "cortexa53" | 1 | DEFAULTTUNE ?= "cortexa53" |
2 | 2 | ||
3 | require conf/machine/include/arm/arch-armv8a.inc | 3 | require conf/machine/include/tune-cortexa53.inc |
4 | |||
5 | TUNEVALID[cortexa53] = "Enable Cortex-a53 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa53', ' -mcpu=cortex-a53', '', d)}" | ||
7 | |||
8 | AVAILTUNES += "cortexa53" | ||
9 | |||
10 | ARMPKGARCH_tune-cortexa53 = "cortexa53" | ||
11 | |||
12 | TUNE_FEATURES_tune-cortexa53 = "${TUNE_FEATURES_tune-aarch64} cortexa53" | ||
13 | PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64}" | ||
14 | 4 | ||
15 | SOC_FAMILY = "zynqmp" | 5 | SOC_FAMILY = "zynqmp" |
16 | 6 | ||
diff --git a/meta-xilinx-bsp/conf/machine/cortexa72-versal.conf b/meta-xilinx-bsp/conf/machine/cortexa72-versal.conf index 7191ac64..2375f490 100644 --- a/meta-xilinx-bsp/conf/machine/cortexa72-versal.conf +++ b/meta-xilinx-bsp/conf/machine/cortexa72-versal.conf | |||
@@ -1,16 +1,6 @@ | |||
1 | DEFAULTTUNE ?= "cortexa72" | 1 | DEFAULTTUNE ?= "cortexa72" |
2 | 2 | ||
3 | require conf/machine/include/arm/arch-armv8a.inc | 3 | require conf/machine/include/tune-cortexa72.inc |
4 | |||
5 | TUNEVALID[cortexa72] = "Enable Cortex-A72 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa72', ' -mcpu=cortex-a72', '', d)}" | ||
7 | |||
8 | AVAILTUNES += "cortexa72" | ||
9 | |||
10 | ARMPKGARCH_tune-cortexa72 = "cortexa72" | ||
11 | |||
12 | TUNE_FEATURES_tune-cortexa72 = "${TUNE_FEATURES_tune-aarch64} cortexa72" | ||
13 | PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64}" | ||
14 | 4 | ||
15 | SOC_FAMILY = "versal" | 5 | SOC_FAMILY = "versal" |
16 | #LANGUAGES_append = ",lto" | 6 | #LANGUAGES_append = ",lto" |