summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-07-11 19:31:16 +1000
committerNathan Rossi <nathan@nathanrossi.com>2017-07-11 22:56:44 +1000
commitf61f8afee8fdda873200f42ed1fe34e41e7a1cd6 (patch)
tree7459167ec6f7d9e8e6b5225bbc370dcb1d7dab5c /conf
parente5d00b8cf6e36f484db1b0bd31fa1f60ddf4c8b4 (diff)
downloadmeta-xilinx-f61f8afee8fdda873200f42ed1fe34e41e7a1cd6.tar.gz
feature-microblaze-versions.inc: Remove v7.* MicroBlaze CPU Versions
These versions of the MicroBlaze CPU are now considerably outdated and were obsoleted in 2012. Additionally they were only available with the big endian configuration. Remove the v7.30 tune feature. The s3adsp1800-qemu-microblazeeb machine emulates a v7.10.d cpu version, however QEMU does not limit the CPU being emulated and provides all CPU instructions and features that are available, so build targeting v8.00 instead. Also fix up the version formatting generated by microblaze_current_version. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/microblaze/feature-microblaze-versions.inc5
-rw-r--r--conf/machine/s3adsp1800-qemu-microblazeeb.conf2
2 files changed, 2 insertions, 5 deletions
diff --git a/conf/machine/include/microblaze/feature-microblaze-versions.inc b/conf/machine/include/microblaze/feature-microblaze-versions.inc
index 4a2b4f4e..2e641649 100644
--- a/conf/machine/include/microblaze/feature-microblaze-versions.inc
+++ b/conf/machine/include/microblaze/feature-microblaze-versions.inc
@@ -29,13 +29,12 @@ def microblaze_current_version(d, gcc = False):
29 version = next((v for v in [microblaze_parse_version(i) for i in tunes] if v), None) 29 version = next((v for v in [microblaze_parse_version(i) for i in tunes] if v), None)
30 if version: 30 if version:
31 if version[0] <= 8 and len(version) > 2 and (gcc or version[2] != "a"): 31 if version[0] <= 8 and len(version) > 2 and (gcc or version[2] != "a"):
32 return "v%d.%d.%s" % version[0:3] 32 return "v%d.%02d.%s" % version[0:3]
33 else: 33 else:
34 return "v%d.%d" % version[0:2] 34 return "v%d.%d" % version[0:2]
35 return "" 35 return ""
36 36
37# MicroBlaze versions 37# MicroBlaze versions
38TUNEVALID[v7.30] = "MicroBlaze version 7.30"
39TUNEVALID[v8.00] = "MicroBlaze version 8.00" 38TUNEVALID[v8.00] = "MicroBlaze version 8.00"
40TUNEVALID[v8.10] = "MicroBlaze version 8.10" 39TUNEVALID[v8.10] = "MicroBlaze version 8.10"
41TUNEVALID[v8.20] = "MicroBlaze version 8.20" 40TUNEVALID[v8.20] = "MicroBlaze version 8.20"
@@ -52,7 +51,6 @@ TUNEVALID[v9.6] = "MicroBlaze version 9.6"
52TUNEVALID[v10.0] = "MicroBlaze version 10.0" 51TUNEVALID[v10.0] = "MicroBlaze version 10.0"
53 52
54# Version conflict matrix 53# Version conflict matrix
55TUNECONFLICTS[v7.30] := "${@microblaze_version_conflict('v7.30', d)}"
56TUNECONFLICTS[v8.00] := "${@microblaze_version_conflict('v8.00', d)}" 54TUNECONFLICTS[v8.00] := "${@microblaze_version_conflict('v8.00', d)}"
57TUNECONFLICTS[v8.10] := "${@microblaze_version_conflict('v8.10', d)}" 55TUNECONFLICTS[v8.10] := "${@microblaze_version_conflict('v8.10', d)}"
58TUNECONFLICTS[v8.20] := "${@microblaze_version_conflict('v8.20', d)}" 56TUNECONFLICTS[v8.20] := "${@microblaze_version_conflict('v8.20', d)}"
@@ -69,7 +67,6 @@ TUNECONFLICTS[v9.6] := "${@microblaze_version_conflict('v9.6', d)}"
69TUNECONFLICTS[v10.0] := "${@microblaze_version_conflict('v10.0', d)}" 67TUNECONFLICTS[v10.0] := "${@microblaze_version_conflict('v10.0', d)}"
70 68
71# Version/feature conflicts 69# Version/feature conflicts
72TUNECONFLICTS[v7.30] += "reorder"
73TUNECONFLICTS[v8.00] += "reorder" 70TUNECONFLICTS[v8.00] += "reorder"
74TUNECONFLICTS[v8.10] += "reorder" 71TUNECONFLICTS[v8.10] += "reorder"
75TUNECONFLICTS[v8.20] += "reorder" 72TUNECONFLICTS[v8.20] += "reorder"
diff --git a/conf/machine/s3adsp1800-qemu-microblazeeb.conf b/conf/machine/s3adsp1800-qemu-microblazeeb.conf
index 9dcbd619..6bd75417 100644
--- a/conf/machine/s3adsp1800-qemu-microblazeeb.conf
+++ b/conf/machine/s3adsp1800-qemu-microblazeeb.conf
@@ -6,7 +6,7 @@ require conf/machine/include/tune-microblaze.inc
6require conf/machine/include/machine-xilinx-default.inc 6require conf/machine/include/machine-xilinx-default.inc
7require conf/machine/include/machine-xilinx-qemu.inc 7require conf/machine/include/machine-xilinx-qemu.inc
8 8
9TUNE_FEATURES_tune-microblaze += "v7.30 bigendian barrel-shift pattern-compare multiply-low" 9TUNE_FEATURES_tune-microblaze += "v8.00 bigendian barrel-shift pattern-compare multiply-low"
10 10
11MACHINE_FEATURES = "" 11MACHINE_FEATURES = ""
12 12