diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-10-18 18:28:06 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-10-31 00:49:41 -0400 |
commit | b4d1463c1f0e1b7c18a56ac1bf25a1c81e810037 (patch) | |
tree | d22afbf70213acc92a3fb2d3ae4c9f023afebde8 /conf | |
parent | 44a31f698c599ee4937e7130f62330ef4faa3662 (diff) | |
download | meta-ti-b4d1463c1f0e1b7c18a56ac1bf25a1c81e810037.tar.gz |
tune-cortexa7: add tunes for ARM Cortex-A7
http://www.arm.com/products/processors/cortex-a/cortex-a7.php
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/tune-cortexa7.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/conf/machine/include/tune-cortexa7.inc b/conf/machine/include/tune-cortexa7.inc new file mode 100644 index 00000000..8e411394 --- /dev/null +++ b/conf/machine/include/tune-cortexa7.inc | |||
@@ -0,0 +1,24 @@ | |||
1 | DEFAULTTUNE ?= "cortexa7-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" | ||
10 | TUNE_FEATURES_tune-cortexa7 = "${TUNE_FEATURES_tune-armv7a} cortexa7" | ||
11 | TUNE_FEATURES_tune-cortexa7t = "${TUNE_FEATURES_tune-armv7at} cortexa7" | ||
12 | TUNE_FEATURES_tune-cortexa7-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa7" | ||
13 | PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}" | ||
14 | PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" | ||
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon}" | ||
16 | |||
17 | # VFP Tunes | ||
18 | AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon" | ||
19 | TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7" | ||
20 | TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7" | ||
21 | TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" | ||
22 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}" | ||
23 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}" | ||
24 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}" | ||