diff mbox

[U-Boot,v2,01/12] dtoc: Fix bug in GetProp()

Message ID 1474840348-22780-2-git-send-email-sjg@chromium.org
State Accepted
Commit 0734b70c9cb59f030a8293b08b947aa793baaa74
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Sept. 25, 2016, 9:52 p.m. UTC
This does not actually call fdtget correctly when requesting a particular
type. Fix it.

Signed-off-by: Simon Glass <sjg@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(-)

Comments

Simon Glass Oct. 2, 2016, 5:58 p.m. UTC | #1
On 25 September 2016 at 15:52, Simon Glass <sjg@chromium.org> wrote:
> This does not actually call fdtget correctly when requesting a particular
> type. Fix it.
>
> Signed-off-by: Simon Glass <sjg@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(-)

Applied to u-boot-dm
diff mbox

Patch

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