diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-02-18 21:46:16 +0000 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-02-20 11:52:08 +0000 |
commit | b5190516b282bee6f10569c3387d16f83447d280 (patch) | |
tree | b043bfe2974111c6fcf24cb719fc2f4270f08fd8 /arch/arm/boot/dts/testcases/tests-phandle.dtsi | |
parent | of: reimplement the matching method for __of_match_node() (diff) | |
download | linux-dev-b5190516b282bee6f10569c3387d16f83447d280.tar.xz linux-dev-b5190516b282bee6f10569c3387d16f83447d280.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/testcases/tests-phandle.dtsi')
-rw-r--r-- | arch/arm/boot/dts/testcases/tests-phandle.dtsi | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/arch/arm/boot/dts/testcases/tests-phandle.dtsi b/arch/arm/boot/dts/testcases/tests-phandle.dtsi deleted file mode 100644 index 0007d3cd7dc2..000000000000 --- a/arch/arm/boot/dts/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; |