summaryrefslogtreecommitdiff
path: root/tools/dtoc/dtoc_test_invalid_driver.dts
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2020-06-25 01:10:08 -0300
committerSimon Glass <sjg@chromium.org>2020-07-09 22:00:29 -0600
commit361e73359615b44fe626152ba8b7870edcd9b173 (patch)
treea66d218c26d99b3b73468ed9bcd3e5a4b49df1e4 /tools/dtoc/dtoc_test_invalid_driver.dts
parentdac8228df99d140b5204d0687599c839f3938bc8 (diff)
downloadu-boot-361e73359615b44fe626152ba8b7870edcd9b173.tar.gz
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>
Diffstat (limited to 'tools/dtoc/dtoc_test_invalid_driver.dts')
-rw-r--r--tools/dtoc/dtoc_test_invalid_driver.dts15
1 files changed, 15 insertions, 0 deletions
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";
+ };
+};