]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d71cda026d0c54e7d3b5c8a6024dcc245839646
tree37d9228f1f0ce5fda9078992e69e22587b42a6b2
parent1dcd70192621e7fbec1394358782fba62b6da7f7
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