of: unittest: unflatten device tree on UML when testing
authorBrendan Higgins <brendanhiggins@google.com>
Tue, 19 Feb 2019 23:54:22 +0000 (15:54 -0800)
committerRob Herring <robh@kernel.org>
Thu, 28 Feb 2019 17:50:10 +0000 (11:50 -0600)
commit935665c1a117f34662549f01e1c9bc5ea7132556
tree36f9715b8e1fc7c5e6d7e8ed3dea9d76b4a2af28
parentda36822dec7436bc270d3e24edc89c4ceb708bb8
of: unittest: unflatten device tree on UML when testing

UML supports enabling OF, and is useful for running the device tree
tests, so add support for unflattening device tree blobs so we can
actually use it.

Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c