]> git.baikalelectronics.ru Git - uboot.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)
commite23903303f4b0947d10288bae9a6a202051031f0
tree734d8ece41b094b709432ff5252b2d20d67dc422
parent54afcf1677b1b3ce57afe5346ed4bc1c1096996e
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