dtoc: add option to disable warnings
authorWalter Lozano <walter.lozano@collabora.com>
Thu, 25 Jun 2020 04:10:08 +0000 (01:10 -0300)
committerSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 04:00:29 +0000 (22:00 -0600)
commit361e73359615b44fe626152ba8b7870edcd9b173
treea66d218c26d99b3b73468ed9bcd3e5a4b49df1e4
parentdac8228df99d140b5204d0687599c839f3938bc8
dtoc: add option to disable warnings

As dtoc now performs checks for valid driver names, when running dtoc
tests several warnings arise as these tests don't use valid driver
names.

This patch adds an option to disable those warning, which is only
intended for running tests.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py
tools/dtoc/dtoc_test_invalid_driver.dts [new file with mode: 0644]
tools/dtoc/test_dtoc.py