diff options
author | Denys Dmytriyenko <denys@ti.com> | 2013-03-04 22:12:34 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-07 11:14:35 +0000 |
commit | f4a10bbbf5a6e97a547921f0c32d58d659dbe5b3 (patch) | |
tree | 2ad4efba3ca01fd8b7cf4075dc47cc53a3138e34 /meta/conf/machine | |
parent | 3e32adcb1a1f5bbd2e3c3c8ee3cde75df9971758 (diff) | |
download | poky-f4a10bbbf5a6e97a547921f0c32d58d659dbe5b3.tar.gz |
tune-cortexa7: add tunes for ARM Cortex-A7
http://www.arm.com/products/processors/cortex-a/cortex-a7.php
(From OE-Core rev: d6d1752c1f75fa97049d9e46b82e71d1ebbeb05f)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/tune-cortexa7.inc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexa7.inc b/meta/conf/machine/include/tune-cortexa7.inc new file mode 100644 index 0000000000..d04aed3de2 --- /dev/null +++ b/meta/conf/machine/include/tune-cortexa7.inc | |||
@@ -0,0 +1,36 @@ | |||
1 | DEFAULTTUNE ?= "armv7a-neon" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations" | ||
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa7", "-mtune=cortex-a7", "", d)}" | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon cortexa7t-neon" | ||
10 | ARMPKGARCH_tune-cortexa7 = "cortexa7" | ||
11 | ARMPKGARCH_tune-cortexa7t = "cortexa7" | ||
12 | ARMPKGARCH_tune-cortexa7-neon = "cortexa7" | ||
13 | ARMPKGARCH_tune-cortexa7t-neon = "cortexa7" | ||
14 | TUNE_FEATURES_tune-cortexa7 = "${TUNE_FEATURES_tune-armv7a} cortexa7" | ||
15 | TUNE_FEATURES_tune-cortexa7t = "${TUNE_FEATURES_tune-armv7at} cortexa7" | ||
16 | TUNE_FEATURES_tune-cortexa7-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa7" | ||
17 | TUNE_FEATURES_tune-cortexa7t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa7" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa7-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa7-vfp cortexa7t2-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa7-vfp cortexa7-vfp-neon" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-cortexa7t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa7-vfp cortexa7-vfp-neon cortexa7t2-vfp cortexa7t2-vfp-neon" | ||
22 | |||
23 | # VFP Tunes | ||
24 | AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon cortexa7thf-neon" | ||
25 | ARMPKGARCH_tune-cortexa7hf = "cortexa7" | ||
26 | ARMPKGARCH_tune-cortexa7thf = "cortexa7" | ||
27 | ARMPKGARCH_tune-cortexa7hf-neon = "cortexa7" | ||
28 | ARMPKGARCH_tune-cortexa7thf-neon = "cortexa7" | ||
29 | TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7" | ||
30 | TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7" | ||
31 | TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" | ||
32 | TUNE_FEATURES_tune-cortexa7thf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa7hf-vfp" | ||
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa7hf-vfp cortexa7t2hf-vfp" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon cortexa7t2-vfp cortexa7t2hf-vfp-neon" | ||