mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
dtoc: Fix some minor errors
Fix some comments and a printf string which is incorrect. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -316,7 +316,8 @@ class DtbPlatdata(object):
|
||||
total = na + ns
|
||||
|
||||
if reg.type != fdt.TYPE_INT:
|
||||
raise ValueError("Node '%s' reg property is not an int")
|
||||
raise ValueError("Node '%s' reg property is not an int" %
|
||||
node.name)
|
||||
if len(reg.value) % total:
|
||||
raise ValueError("Node '%s' reg property has %d cells "
|
||||
'which is not a multiple of na + ns = %d + %d)' %
|
||||
|
||||
Reference in New Issue
Block a user