From 5ba80c171d159b219840274ba67c0be147feba31 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 21 Nov 2017 18:42:01 +0100 Subject: [PATCH] hwdef-parse: remove debug output --- tools/hwdef-parse.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/hwdef-parse.py b/tools/hwdef-parse.py index f9a14bee1..81988c928 100755 --- a/tools/hwdef-parse.py +++ b/tools/hwdef-parse.py @@ -113,8 +113,8 @@ for module in modules: instance = module.get('INSTANCE') vlnv = module.get('VLNV') + # Ignroing unkown if not vlnv_match(vlnv, whitelist): - print('Ignoring unknown IP: %s (%s)' % (instance, vlnv)) continue ips[instance] = { @@ -172,9 +172,6 @@ for port in ports: m = r.search(name) irq = int(m.group(1)) - - print(irq, name, signame, instance) - ip = root.xpath('.//MODULE[.//PORT[@SIGNAME="{}" and @DIR="O"]]'.format(signame))[0] instance = ip.get('INSTANCE') @@ -185,7 +182,5 @@ for port in ports: if instance in ips: ips[instance]['irqs'][irqname] = irq - else: - print('Found IRQ %d connected to unkown IP: %s (%s)' % (irq, instance, vlnv)) print(json.dumps(ips, indent=2))