summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-11-12 21:52:09 -0700
committerSimon Glass <sjg@chromium.org>2017-11-22 18:05:38 -0700
commitd09682ef8cbbbf29a41f237298ee1e4dbd71e999 (patch)
tree302a11ba9ac16eebf66a8278a721d2ea4e7f3934 /tools
parent680e3312c23b72142a767c91eb1d74d36e1094fe (diff)
binman: Disable the no-unit_address_vs_reg warnings
These warnings are not useful for binman tests. Disable them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/dtoc/fdt_util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/dtoc/fdt_util.py b/tools/dtoc/fdt_util.py
index 338d47a5e1..ba0b6cc381 100644
--- a/tools/dtoc/fdt_util.py
+++ b/tools/dtoc/fdt_util.py
@@ -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)