diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-24 05:10:44 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 19:08:19 +0300 |
commit | 9856157259f4ab55e3d99c9aacc85f08797c8579 (patch) | |
tree | 38605ce40fe6bb9df6bc952ad279c45e6168dd16 /arch/sandbox | |
parent | 30a570a983c77cddda314cdb2bc5763112338746 (diff) | |
download | u-boot-9856157259f4ab55e3d99c9aacc85f08797c8579.tar.xz |
dm: core: Test uclass_first/next_device() on probe failure
Add some tests which check the behaviour of uclass_first_device() and
uclass_next_device() when probing of a device fails.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/test.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 7dde95d4b1..65b2f8ecda 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -289,6 +289,25 @@ }; }; + probing { + compatible = "simple-bus"; + test1 { + compatible = "denx,u-boot-probe-test"; + }; + + test2 { + compatible = "denx,u-boot-probe-test"; + }; + + test3 { + compatible = "denx,u-boot-probe-test"; + }; + + test4 { + compatible = "denx,u-boot-probe-test"; + }; + }; + pwrdom: power-domain { compatible = "sandbox,power-domain"; #power-domain-cells = <1>; |