From: Simon Glass Date: Sun, 25 Sep 2016 15:52:17 -0600 Subject: [U-Boot] [PATCH v2 01/12] dtoc: Fix bug in GetProp() In-Reply-To: <1474840348-22780-1-git-send-email-sjg@chromium.org> References: <1474840348-22780-1-git-send-email-sjg@chromium.org> Message-ID: <1474840348-22780-2-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This does not actually call fdtget correctly when requesting a particular type. Fix it. Signed-off-by: Simon Glass --- 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