dtoc: Show driver warnings once at the end
authorSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 03:17:25 +0000 (16:17 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commit0c59acef34434e47e054957108eb4fa7cef93123
tree5bab45c29f12e205d199e58a9e5bcaf9c889737f
parent5f86454b3da54586513ab83941a021cb79c383c7
dtoc: Show driver warnings once at the end

At present warnings are shown as soon as they are discovered in the
source scannner. But the function that detects them may be called multiple
times.

Collect all the warnings and show them at the end.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py
tools/dtoc/src_scan.py
tools/dtoc/test_dtoc.py
tools/dtoc/test_src_scan.py