[U-Boot] [PATCH v2 01/12] dtoc: Fix bug in GetProp()
Simon Glass
sjg at chromium.org
Sun Sep 25 23:52:17 CEST 2016
This does not actually call fdtget correctly when requesting a particular
type. Fix it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Add a new patch to fix a bug in GetProp()
tools/dtoc/fdt_fallback.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/dtoc/fdt_fallback.py b/tools/dtoc/fdt_fallback.py
index 0c0ebbc..7d52da7 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()
--
2.8.0.rc3.226.g39d4020
More information about the U-Boot
mailing list