diff options
author | Simon Glass <sjg@chromium.org> | 2016-09-25 15:52:17 -0600 |
---|---|---|
committer | sjg <sjg@chromium.org> | 2016-10-09 09:30:32 -0600 |
commit | 0734b70c9cb59f030a8293b08b947aa793baaa74 (patch) | |
tree | 4f07a70a6d749b313e71ab097c7fab775432566d /tools/dtoc | |
parent | bae5b97e8ec0fedb50350a14e76648714bc51c99 (diff) | |
download | u-boot-0734b70c9cb59f030a8293b08b947aa793baaa74.tar.gz u-boot-0734b70c9cb59f030a8293b08b947aa793baaa74.tar.xz u-boot-0734b70c9cb59f030a8293b08b947aa793baaa74.zip |
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>
Diffstat (limited to 'tools/dtoc')
-rw-r--r-- | tools/dtoc/fdt_fallback.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |