of: unittest: allow base devicetree to have symbol metadata
authorFrank Rowand <frank.rowand@sony.com>
Sat, 13 Oct 2018 02:38:26 +0000 (19:38 -0700)
committerFrank Rowand <frank.rowand@sony.com>
Fri, 9 Nov 2018 06:12:24 +0000 (22:12 -0800)
commit5babefb7f7ab1f23861336d511cc666fa45ede82
tree6e56ef1b48bcbfb34fb40b9b556bcb64ca206604
parentf96278810150fc39085d1872e5b39ea06366d03e
of: unittest: allow base devicetree to have symbol metadata

The overlay metadata nodes in the FDT created from testcases.dts
are not handled properly.

The __fixups__ and __local_fixups__ node were added to the live
devicetree, but should not be.

Only the first property in the /__symbols__ node was added to the
live devicetree if the live devicetree already contained a
/__symbols node.  All of the node's properties must be added.

Tested-by: Alan Tull <atull@kernel.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
drivers/of/unittest.c