1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-26 19:14:34 +01:00
Files
u-boot-megous/boot/bootdev-uclass.c
Michal Suchanek 28a22cd9a4 bootstd: Fix listing boot devices
bootdev_list() uses uclass_*_device_err() to iterate devices.
However, the only value _err adds is returning an error when the device
pointer is null, and that's checked anyway.

Also there is some intent to report errors, and that's what
uclass_*_device_check() is for, use it.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-10-17 21:17:12 -06:00

15 KiB