aboutsummaryrefslogtreecommitdiff
path: root/tests/bad-string-props.dts
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-12-06 17:01:07 +1100
committerJon Loeliger <jdl@freescale.com>2007-12-06 09:16:28 -0600
commitfaf037f0ef294412a3bb04be4032bf2f008a5945 (patch)
treee5f63f3d4f60c722f3833b21a9cdc705863d4d29 /tests/bad-string-props.dts
parentc21acabc40ff1edf8c01f4452c79eaf338b4c13e (diff)
downloaddtc-faf037f0ef294412a3bb04be4032bf2f008a5945.zip
dtc-faf037f0ef294412a3bb04be4032bf2f008a5945.tar.gz
dtc-faf037f0ef294412a3bb04be4032bf2f008a5945.tar.bz2
dtc: Migrate "string property" checks to new framework
This patch converts to the new tree checking framework those checks which verify that certain properties (device_type, model) have a string value, when present. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/bad-string-props.dts')
-rw-r--r--tests/bad-string-props.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bad-string-props.dts b/tests/bad-string-props.dts
new file mode 100644
index 0000000..396f820
--- /dev/null
+++ b/tests/bad-string-props.dts
@@ -0,0 +1,7 @@
+/dts-v1/;
+
+/ {
+ device_type = <0xdeadbeef>;
+ model = <0xdeadbeef>;
+ status = <0xdeadbeef>;
+};