[PATCH v2 04/14] dtoc: add option to disable warnings

Simon Glass sjg at chromium.org
Tue Jun 23 14:28:33 CEST 2020


On Fri, 19 Jun 2020 at 08:56, Walter Lozano <walter.lozano at collabora.com> wrote:
>
> 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 at collabora.com>
> ---
>  tools/dtoc/dtb_platdata.py              | 11 +--
>  tools/dtoc/dtoc_test_invalid_driver.dts | 15 ++++
>  tools/dtoc/test_dtoc.py                 | 91 +++++++++++++++++--------
>  3 files changed, 84 insertions(+), 33 deletions(-)
>  create mode 100644 tools/dtoc/dtoc_test_invalid_driver.dts

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list