binman: Allow control of whether a fake DT is used
[oweals/u-boot.git] / tools / binman / cmdline.py
index 4ce8bc6ab4395c0ea4b437b71123bab231cd51ea..f8caa7d28419ebaf29d091b40bafc3a21e75d078 100644 (file)
@@ -30,6 +30,8 @@ def ParseArgs(argv):
             help='Enabling debugging (provides a full traceback on error)')
     parser.add_option('-E', '--entry-docs', action='store_true',
             help='Write out entry documentation (see README.entries)')
+    parser.add_option('--fake-dtb', action='store_true',
+            help='Use fake device tree contents (for testing only)')
     parser.add_option('-i', '--image', type='string', action='append',
             help='Image filename to build (if not specified, build all)')
     parser.add_option('-I', '--indir', action='append',