diff options
author | Eric Anholt <[email protected]> | 2017-07-13 11:02:37 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-07-13 11:28:28 -0700 |
commit | fd37ce6bec9b66364ab50d200323890020722e75 (patch) | |
tree | 24fa7cfde5c4c2ec2903567acf50d034ee2c81ca /src/broadcom/cle | |
parent | ee170c9d83e623e19fb07fed50f3d82b8a035bf4 (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')
-rw-r--r-- | src/broadcom/cle/gen_pack_header.py | 4 | ||||
-rw-r--r-- | src/broadcom/cle/v3d_packet_v21.xml | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/src/broadcom/cle/v3d_packet_v21.xml b/src/broadcom/cle/v3d_packet_v21.xml index 7a957e64072..5d285334bcc 100644 --- a/src/broadcom/cle/v3d_packet_v21.xml +++ b/src/broadcom/cle/v3d_packet_v21.xml @@ -1,4 +1,4 @@ -<vcxml ver="2.1"> +<vcxml gen="2.1"> <packet name="Halt" code="0"/> <packet name="NOP" code="1"/> <packet name="Flush" code="4" cl="B"/> |