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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user