From: Simon Glass Date: Sun, 25 Sep 2016 21:52:17 +0000 (-0600) Subject: dtoc: Fix bug in GetProp() X-Git-Tag: v2016.11-rc2~10^2~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0734b70c9cb59f030a8293b08b947aa793baaa74;p=u-boot dtoc: Fix bug in GetProp() This does not actually call fdtget correctly when requesting a particular type. Fix it. Signed-off-by: Simon Glass --- diff --git a/tools/dtoc/fdt_fallback.py b/tools/dtoc/fdt_fallback.py index 0c0ebbcf47..7d52da71f3 100644 --- a/tools/dtoc/fdt_fallback.py +++ b/tools/dtoc/fdt_fallback.py @@ -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()