summaryrefslogtreecommitdiffstats
path: root/tools/dtoc/dtoc.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-18 22:09:01 -0600
committerSimon Glass <sjg@chromium.org>2017-07-11 10:08:20 -0600
commite36024b05ff64937be65a74c156e9c83ad315a4c (patch)
tree358938ef4ce3a90edd4af73de36d02fa2856b7ae /tools/dtoc/dtoc.py
parent86290ce40e76ad2e09da096cc7686cdc86756ee1 (diff)
downloadu-boot-e36024b05ff64937be65a74c156e9c83ad315a4c.tar.gz
u-boot-e36024b05ff64937be65a74c156e9c83ad315a4c.tar.xz
u-boot-e36024b05ff64937be65a74c156e9c83ad315a4c.zip
dtoc: Pass include_disabled explicitly
This option is the only one actually used by the dtb_platdata class. Pass it explicitly to avoid needing to pass the whole option object to the constructor. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/dtoc.py')
-rwxr-xr-xtools/dtoc/dtoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index abda9191fa..1f17ea47e0 100755
--- a/tools/dtoc/dtoc.py
+++ b/tools/dtoc/dtoc.py
@@ -52,7 +52,7 @@ parser.add_option('-o', '--output', action='store', default='-',
if not args:
raise ValueError('Please specify a command: struct, platdata')
-plat = dtb_platdata.DtbPlatdata(options.dtb_file, options)
+plat = dtb_platdata.DtbPlatdata(options.dtb_file, options.include_disabled)
plat.scan_dtb()
plat.scan_tree()
plat.setup_output(options.output)