summaryrefslogtreecommitdiff
path: root/tools/dtoc/fdt_fallback.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-10-12 20:48:43 -0400
committerTom Rini <trini@konsulko.com>2016-10-12 20:48:43 -0400
commit79493609c5300be6cc555ab8bd38971360b381f6 (patch)
treedff7c18752cbc05974dc5459c0b90879edf8e342 /tools/dtoc/fdt_fallback.py
parent5ebd27d860ec0c6e36f1b0f973653fe66a7360be (diff)
parentbfeba0173aa45c24bbdba45149716c83258d25f6 (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'tools/dtoc/fdt_fallback.py')
-rw-r--r--tools/dtoc/fdt_fallback.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dtoc/fdt_fallback.py b/tools/dtoc/fdt_fallback.py
index 0c0ebbcf47a..23e26796c8f 100644
--- a/tools/dtoc/fdt_fallback.py
+++ b/tools/dtoc/fdt_fallback.py
@@ -58,7 +58,7 @@ class Node(NodeBase):
This fills in the props and subnodes properties, recursively
searching into subnodes so that the entire tree is built.
"""
- for name, byte_list_str in self._fdt.GetProps(self.path).iteritems():
+ for name, byte_list_str in self._fdt.GetProps(self.path).items():
prop = Prop(self, name, byte_list_str)
self.props[name] = prop
@@ -160,7 +160,7 @@ class FdtFallback(Fdt):
if default is not None:
args += ['-d', str(default)]
if typespec is not None:
- args += ['-t%s' % typespec]
+ args += ['-t', typespec]
out = command.Output('fdtget', *args)
return out.strip()