forked from robherring/dt-schema
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dtschema: Rework int array to matrix fixups
Using _is_int_schema to match int arrays doesn't work if we have a list of 'items' with just descriptions as that looks the same as a string or phandle list. To fix this, let's also look for a $ref to a 'uint*-array' type in addition to integer keywords. As part of this, _fixup_int_array becomes redundant and can be removed. The items size fixup needs to be done after all the other fixups and after all the recursion. Otherwise, we miss some instances. Signed-off-by: Rob Herring <robh@kernel.org>
- Loading branch information
1 parent
6463dcb
commit 9643764
Showing
1 changed file
with
28 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters