Commit 0734b70c9cb59f030a8293b08b947aa793baaa74

Authored by Simon Glass
Committed by sjg
1 parent bae5b97e8e

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

tools/dtoc/fdt_fallback.py
... ... @@ -160,7 +160,7 @@
160 160 if default is not None:
161 161 args += ['-d', str(default)]
162 162 if typespec is not None:
163   - args += ['-t%s' % typespec]
  163 + args += ['-t', typespec]
164 164 out = command.Output('fdtget', *args)
165 165 return out.strip()
166 166