diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-12-06 16:59:45 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-12-06 09:15:56 -0600 |
commit | c21acabc40ff1edf8c01f4452c79eaf338b4c13e (patch) | |
tree | 4749b0a5beda4af695dcb1f82960884b1256cd42 /tests/bad-ncells.dts | |
parent | 5ba0086bfd0fa6ab25f7ce1870417301a26c104f (diff) | |
download | dtc-c21acabc40ff1edf8c01f4452c79eaf338b4c13e.tar.gz |
dtc: Migrate "one cell" checks to new framework
This patch converts to the new tree checking framework those checks
which verify that certain properties (#address-cells and #size-cells)
are exactly one cell in size, when present.
We also drop the old-style check for "linux,phandle" being one cell,
since that is already implied in the the existing new-style checks on
the linux,phandle property.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/bad-ncells.dts')
-rw-r--r-- | tests/bad-ncells.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bad-ncells.dts b/tests/bad-ncells.dts new file mode 100644 index 0000000..636198c --- /dev/null +++ b/tests/bad-ncells.dts @@ -0,0 +1,7 @@ +/dts-v1/; + +/ { + #address-cells = "badthing"; + #size-cells = "badthing"; + #interrupt-cells = "badthing"; +}; |