dtoc: Fix bug in GetProp()

This does not actually call fdtget correctly when requesting a particular
type. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2016-09-25 15:52:17 -06:00 committed by sjg
parent bae5b97e8e
commit 0734b70c9c
1 changed files with 1 additions and 1 deletions

View File

@ -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()