]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: List all uclass devices regardless of probe error
authorMichal Suchanek <msuchanek@suse.de>
Wed, 12 Oct 2022 19:57:58 +0000 (21:57 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:12 +0000 (21:17 -0600)
commit8676ae36ae4617b20b5cc49972c54c63c7b27bb3
tree734d8ece41b094b709432ff5252b2d20d67dc422
parent9244645f929bdff2ce87d1d967a78a0e05cebd80
cmd: List all uclass devices regardless of probe error

There are a few commands that iterate uclass with
uclass_first_device/uclass_next_device or the _err variant.

Use the _check class iterator variant to get devices that fail to probe
as well, and print the status.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/adc.c
cmd/demo.c
cmd/gpio.c
cmd/pmic.c
cmd/regulator.c