[PATCH v4 05/14] dtoc: add option to disable warnings

Simon Glass sjg at chromium.org
Fri Jun 26 03:43:04 CEST 2020


On Wed, 24 Jun 2020 at 22:11, 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              | 13 ++--
>  tools/dtoc/dtoc_test_invalid_driver.dts | 15 ++++
>  tools/dtoc/test_dtoc.py                 | 91 +++++++++++++++++--------
>  3 files changed, 85 insertions(+), 34 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