Hi,

sconfig, the tool to convert devicetree.cb into our internal
representation, warned about naming conflicts even if they were uncritical.

Make sconfig only complain about real conflicts.


Signed-off-by: Patrick Georgi <[email protected]>
Index: util/sconfig/config.g
===================================================================
--- util/sconfig/config.g       (revision 5300)
+++ util/sconfig/config.g       (working copy)
@@ -602,8 +602,8 @@
 
 def setdict(dict, name, value):
        debug.info(debug.dict, "setdict sets %s to %s" % (name, value))
-       if name in dict.keys():
-               print "Duplicate in dict: %s" % name
+       if name in dict.keys() and not dict[name] == value:
+               print "Collision in dict: %s is %s, shall be set to %s" % 
(name, dict[name], value)
        dict[name] = value
 
 
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to