Enabling OF selftest to run without machine's devicetree
authorGaurav Minocha <gaurav.minocha.os@gmail.com>
Sat, 26 Jul 2014 19:48:50 +0000 (12:48 -0700)
committerGrant Likely <grant.likely@linaro.org>
Sat, 16 Aug 2014 08:03:56 +0000 (09:03 +0100)
commitb951f9dc7f25fc1e39aafda5edb4b47b38285d9f
tree37d9228f1f0ce5fda9078992e69e22587b42a6b2
parentb5f2a8c02697c3685ccbbb66495465742ffa0dc1
Enabling OF selftest to run without machine's devicetree

If there is no devicetree present, this patch adds the selftest
data as a live devicetree. It also removes the same after the
testcase execution is complete.

Tested with and without machine's devicetree.

Signed-off-by: Gaurav Minocha <gaurav.minocha.os@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/selftest.c