mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
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>
This commit is contained in:
parent
5ba0086bfd
commit
c21acabc40
3 changed files with 35 additions and 14 deletions
7
tests/bad-ncells.dts
Normal file
7
tests/bad-ncells.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
#address-cells = "badthing";
|
||||
#size-cells = "badthing";
|
||||
#interrupt-cells = "badthing";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue