scripts/dtc: Revert "yamltree: Ensure consistent bracketing of properties with phandles"
authorRob Herring <robh@kernel.org>
Tue, 28 Jan 2020 16:16:45 +0000 (10:16 -0600)
committerRob Herring <robh@kernel.org>
Tue, 28 Jan 2020 16:21:47 +0000 (10:21 -0600)
commite9a3bfe38e393e1d8bd74986cdc9b99b8f9d1efc
tree001786e5f7a43dbd2a794e3996ce32d4ab1de000
parentdabf6b36b83a18d57e3d4b9d50544ed040d86255
scripts/dtc: Revert "yamltree: Ensure consistent bracketing of properties with phandles"

This reverts upstream commit 18d7b2f4ee45fec422b7d82bab0b3c762ee907e4. A
revert in upstream dtc is pending.

This commit didn't work for properties such as 'interrupt-map' that have
phandle in the middle of an entry. It would also not work for a 0 or -1
phandle value that acts as a NULL.

Signed-off-by: Rob Herring <robh@kernel.org>
scripts/dtc/yamltree.c