]> Git Repo - J-u-boot.git/commitdiff
dtoc: Fix bug in GetProp()
authorSimon Glass <[email protected]>
Sun, 25 Sep 2016 21:52:17 +0000 (15:52 -0600)
committersjg <[email protected]>
Sun, 9 Oct 2016 15:30:32 +0000 (09:30 -0600)
This does not actually call fdtget correctly when requesting a particular
type. Fix it.

Signed-off-by: Simon Glass <[email protected]>
tools/dtoc/fdt_fallback.py

index 0c0ebbcf47a1217f42bebc529a69e76367cf9c5b..7d52da71f3aa9819db471ea6db581ef476ba144a 100644 (file)
@@ -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()
 
This page took 0.035512 seconds and 4 git commands to generate.