diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-02-04 15:06:28 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-06 12:16:34 +0000 |
commit | 83e58868b5fcd3846d81ec04f0b7b1751b4ca0d0 (patch) | |
tree | a2a8c670343ba52993f8124f18e5b9ed3b83e040 /meta/conf/machine/include | |
parent | e45c38203378b4bb99cc077f5dad69914cb18137 (diff) | |
download | poky-83e58868b5fcd3846d81ec04f0b7b1751b4ca0d0.tar.gz |
microblaze tune: Enable 64-bit
64-bit is not yet available in Linux, but some non-Linux uses exist.
(From OE-Core rev: 389691be34b79da1fafa8df2e6369e7771406cc2)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r-- | meta/conf/machine/include/microblaze/arch-microblaze.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/conf/machine/include/microblaze/arch-microblaze.inc b/meta/conf/machine/include/microblaze/arch-microblaze.inc index 89e9484190..0349caac0a 100644 --- a/meta/conf/machine/include/microblaze/arch-microblaze.inc +++ b/meta/conf/machine/include/microblaze/arch-microblaze.inc | |||
@@ -4,6 +4,11 @@ | |||
4 | TUNEVALID[microblaze] = "MicroBlaze" | 4 | TUNEVALID[microblaze] = "MicroBlaze" |
5 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "microblaze", "microblaze:", "", d)}" | 5 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "microblaze", "microblaze:", "", d)}" |
6 | 6 | ||
7 | # 64-bit | ||
8 | TUNEVALID[64-bit] = "64-bit MicroBlaze" | ||
9 | TUNECONFLICTS[64-bit] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3 v9.4 v9.5 v9.6 v10.0" | ||
10 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "64-bit", "microblaze64:", "", d)}" | ||
11 | |||
7 | # Endian | 12 | # Endian |
8 | TUNEVALID[bigendian] = "Use Microblaze Big Endian" | 13 | TUNEVALID[bigendian] = "Use Microblaze Big Endian" |
9 | TUNECONFLICTS[bigendian] += "v10.0" | 14 | TUNECONFLICTS[bigendian] += "v10.0" |
@@ -26,6 +31,7 @@ TUNECONFLICTS[frequency-optimized] += "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 | |||
26 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "barrel-shift", "-mxl-barrel-shift", "-mno-xl-barrel-shift", d)}" | 31 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "barrel-shift", "-mxl-barrel-shift", "-mno-xl-barrel-shift", d)}" |
27 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "pattern-compare", "-mxl-pattern-compare", "-mno-xl-pattern-compare", d)}" | 32 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "pattern-compare", "-mxl-pattern-compare", "-mno-xl-pattern-compare", d)}" |
28 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "frequency-optimized", "-mxl-frequency", "", d)}" | 33 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "frequency-optimized", "-mxl-frequency", "", d)}" |
34 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "64-bit", "-m64", "", d)}" | ||
29 | 35 | ||
30 | # Disable reorder for v8.30 if pattern-compare is not enabled | 36 | # Disable reorder for v8.30 if pattern-compare is not enabled |
31 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "reorder", \ | 37 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "reorder", \ |
@@ -48,6 +54,9 @@ require conf/machine/include/microblaze/feature-microblaze-math.inc | |||
48 | # Architecture name, either 'microblaze' or 'microblazeel' depending on endianess | 54 | # Architecture name, either 'microblaze' or 'microblazeel' depending on endianess |
49 | TUNE_ARCH = "microblaze${@bb.utils.contains("TUNE_FEATURES", "bigendian", "", "el", d)}" | 55 | TUNE_ARCH = "microblaze${@bb.utils.contains("TUNE_FEATURES", "bigendian", "", "el", d)}" |
50 | 56 | ||
57 | # Add 64-bit to the PKGARCH if enabled. | ||
58 | MBPKGARCH_SIZE = "${@bb.utils.contains("TUNE_FEATURES", "64-bit", "64", "", d)}" | ||
59 | |||
51 | # Package Architecture formatting | 60 | # Package Architecture formatting |
52 | TUNE_PKGARCH = "microblaze${MBPKGARCH_ENDIAN}${MBPKGARCH_VERSION}${MBPKGARCH_TUNE}${MBPKGARCH_MATH}" | 61 | TUNE_PKGARCH = "microblaze${MBPKGARCH_SIZE}${MBPKGARCH_ENDIAN}${MBPKGARCH_VERSION}${MBPKGARCH_TUNE}${MBPKGARCH_MATH}" |
53 | 62 | ||