linux/drivers/of/testcase-data
Gaurav Minocha ae9304c9d3 Adding selftest testdata dynamically into live tree
This patch attaches selftest's device tree data (required by /drivers/of/selftest.c)
dynamically into live device tree. First, it links selftest device tree data into the
kernel image and then iterates over all the nodes and attaches them into the live tree.
Once the testcases are complete, it removes the data attached.

This patch will remove the manual process of addition and removal of selftest device
tree data into the machine's dts file.

Tested successfully with current selftest's testcases.

Signed-off-by: Gaurav Minocha <gaurav.minocha.os@gmail.com>
[glikely: Removed ability to build as a module and fixed no-devicetree bug]
Signed-off-by: Grant Likely <grant.likely@linaro.org>
2014-07-25 00:18:13 -06:00
..
testcases.dts Adding selftest testdata dynamically into live tree 2014-07-25 00:18:13 -06:00
tests-interrupts.dtsi of: selftest: add deferred probe interrupt test 2014-04-24 16:58:55 +01:00
tests-match.dtsi of: Add self test for of_match_node() 2014-02-20 11:52:09 +00:00
tests-phandle.dtsi of: Add a testcase for of_find_node_by_path() 2014-05-23 11:35:30 +09:00
tests-platform.dtsi of/selftest: add testcase for nodes with same name and address 2014-05-13 14:11:11 -05:00