of: Move testcase FDT data into drivers/of
authorGrant Likely <grant.likely@linaro.org>
Tue, 18 Feb 2014 21:46:16 +0000 (21:46 +0000)
committerGrant Likely <grant.likely@linaro.org>
Thu, 20 Feb 2014 11:52:08 +0000 (11:52 +0000)
commitb5190516b282bee6f10569c3387d16f83447d280
treeb043bfe2974111c6fcf24cb719fc2f4270f08fd8
parent215a14cface21ba205f6edc813be157fdf7899b8
of: Move testcase FDT data into drivers/of

The testcase data is usable by any platform. This patch moves it into
the drivers/of directory so it can be included by any architecture.

Using the test cases requires manually adding #include <testcases.dtsi>
to the end of the boards .dtsi file and enabling CONFIG_OF_SELFTEST. Not
pretty though. A useful project would be to make the testcase code
easier to execute.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
arch/arm/boot/dts/testcases/tests.dtsi [deleted file]
arch/arm/boot/dts/versatile-pb.dts
drivers/of/testcase-data/testcases.dtsi [new file with mode: 0644]
drivers/of/testcase-data/tests-interrupts.dtsi [moved from arch/arm/boot/dts/testcases/tests-interrupts.dtsi with 100% similarity]
drivers/of/testcase-data/tests-phandle.dtsi [moved from arch/arm/boot/dts/testcases/tests-phandle.dtsi with 100% similarity]
scripts/Makefile.lib