Skip to content

v2019.11 Release

Compare
Choose a tag to compare
@robherring robherring released this 12 Dec 20:57
· 533 commits to master since this release
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 <[email protected]>