summaryrefslogtreecommitdiffstats
path: root/src/broadcom/cle/gen_pack_header.py
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-07-13 11:02:37 -0700
committerEric Anholt <[email protected]>2017-07-13 11:28:28 -0700
commitfd37ce6bec9b66364ab50d200323890020722e75 (patch)
tree24fa7cfde5c4c2ec2903567acf50d034ee2c81ca /src/broadcom/cle/gen_pack_header.py
parentee170c9d83e623e19fb07fed50f3d82b8a035bf4 (diff)
broadcom/genxml: Use the same "gen" attr for HW version as Intel does.
This will let us reuse their tools more easily.
Diffstat (limited to 'src/broadcom/cle/gen_pack_header.py')
-rw-r--r--src/broadcom/cle/gen_pack_header.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/broadcom/cle/gen_pack_header.py b/src/broadcom/cle/gen_pack_header.py
index 528ff8fa439..1ebeec7a794 100644
--- a/src/broadcom/cle/gen_pack_header.py
+++ b/src/broadcom/cle/gen_pack_header.py
@@ -383,8 +383,8 @@ class Parser(object):
def start_element(self, name, attrs):
if name == "vcxml":
- self.platform = "V3D {}".format(attrs["ver"])
- self.ver = attrs["ver"].replace('.', '')
+ self.platform = "V3D {}".format(attrs["gen"])
+ self.ver = attrs["gen"].replace('.', '')
print(pack_header % {'license': license, 'platform': self.platform, 'guard': self.gen_guard()})
elif name in ("packet", "struct", "register"):
default_field = None