From fd37ce6bec9b66364ab50d200323890020722e75 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 13 Jul 2017 11:02:37 -0700 Subject: [PATCH] broadcom/genxml: Use the same "gen" attr for HW version as Intel does. This will let us reuse their tools more easily. --- src/broadcom/cle/gen_pack_header.py | 4 ++-- 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 @@ - + -- 2.30.2