From 361e73359615b44fe626152ba8b7870edcd9b173 Mon Sep 17 00:00:00 2001 From: Walter Lozano Date: Thu, 25 Jun 2020 01:10:08 -0300 Subject: 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 Reviewed-by: Simon Glass --- tools/dtoc/dtoc_test_invalid_driver.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/dtoc/dtoc_test_invalid_driver.dts (limited to 'tools/dtoc/dtoc_test_invalid_driver.dts') diff --git a/tools/dtoc/dtoc_test_invalid_driver.dts b/tools/dtoc/dtoc_test_invalid_driver.dts new file mode 100644 index 0000000000..914ac3e899 --- /dev/null +++ b/tools/dtoc/dtoc_test_invalid_driver.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Test device tree file for dtoc + * + * Copyright 2017 Google, Inc + */ + +/dts-v1/; + +/ { + spl-test { + u-boot,dm-pre-reloc; + compatible = "invalid"; + }; +}; -- cgit