]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
binman: Disable the no-unit_address_vs_reg warnings
authorSimon Glass <sjg@chromium.org>
Mon, 13 Nov 2017 04:52:09 +0000 (21:52 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 23 Nov 2017 01:05:38 +0000 (18:05 -0700)
These warnings are not useful for binman tests. Disable them.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/fdt_util.py

index 338d47a5e1489622399f4f7294388a36103044bf..ba0b6cc38158f4ccdd880896c991c855c80c6840 100644 (file)
@@ -75,7 +75,8 @@ def EnsureCompiled(fname):
     search_list = []
     for path in search_paths:
         search_list.extend(['-i', path])
-    args = ['-I', 'dts', '-o', dtb_output, '-O', 'dtb']
+    args = ['-I', 'dts', '-o', dtb_output, '-O', 'dtb',
+            '-W', 'no-unit_address_vs_reg']
     args.extend(search_list)
     args.append(dts_input)
     command.Run('dtc', *args)