diff options
author | Simon Glass | 2017-04-23 20:10:44 -0600 |
---|---|---|
committer | Simon Glass | 2017-07-11 10:08:19 -0600 |
commit | 9856157259f4ab55e3d99c9aacc85f08797c8579 (patch) | |
tree | 38605ce40fe6bb9df6bc952ad279c45e6168dd16 /arch | |
parent | 30a570a983c77cddda314cdb2bc5763112338746 (diff) |
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')
-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 7dde95d4b1e..65b2f8ecdac 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>; |