summaryrefslogtreecommitdiff
path: root/test/dm/test.dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-23 06:54:57 -0600
committerSimon Glass <sjg@chromium.org>2014-07-23 14:07:23 +0100
commiteb9ef5fee7243d43d6fa29652c8ffa987f71b834 (patch)
tree153ed02c5915a1b1da4c86e3255a72f5781fd8ba /test/dm/test.dts
parent5b9765c7d689166899918d49e4884e9b8c51a8ae (diff)
downloadu-boot-imx-eb9ef5fee7243d43d6fa29652c8ffa987f71b834.zip
u-boot-imx-eb9ef5fee7243d43d6fa29652c8ffa987f71b834.tar.gz
u-boot-imx-eb9ef5fee7243d43d6fa29652c8ffa987f71b834.tar.bz2
dm: Use an explicit expect value in core tests
Rather than reusing the 'reg' property, use an explicit property for the expected ping value used in testing. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/test.dts')
-rw-r--r--test/dm/test.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/dm/test.dts b/test/dm/test.dts
index ec5364f..74d236b 100644
--- a/test/dm/test.dts
+++ b/test/dm/test.dts
@@ -9,6 +9,7 @@
a-test {
reg = <0>;
compatible = "denx,u-boot-fdt-test";
+ ping-expect = <0>;
ping-add = <0>;
};
@@ -24,13 +25,14 @@
b-test {
reg = <3>;
compatible = "denx,u-boot-fdt-test";
+ ping-expect = <3>;
ping-add = <3>;
};
some-bus {
#address-cells = <1>;
#size-cells = <0>;
- reg = <4>;
+ ping-expect = <4>;
ping-add = <4>;
c-test {
compatible = "denx,u-boot-fdt-test";
@@ -41,6 +43,7 @@
d-test {
reg = <6>;
+ ping-expect = <6>;
ping-add = <6>;
compatible = "google,another-fdt-test";
};