u-boot/drivers/block
Simon Glass 41e751091d dm: blk: Tidy up obtaining a block device from its parent
This function now finds its block-device child by looking for a child
device of the correct uclass (UCLASS_BLK). It cannot produce a device of
any other type, so drop the superfluous check.

Provide a version which does not probe the device, since that is often
needed when setting up the device's platdata.

Also fix up the function's comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-11-07 16:24:30 -07:00
..
blk-uclass.c dm: blk: Tidy up obtaining a block device from its parent 2022-11-07 16:24:30 -07:00
blk_legacy.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
blkcache.c dm: test: Clear the block cache after running a test 2022-11-07 16:24:30 -07:00
efi-media-uclass.c efi: Add uclass for devices provided by UEFI firmware 2021-12-09 11:43:25 -08:00
efi_blk.c blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
ide.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
Kconfig dm: blk: mmc: Tidy up some Makefile rules for SPL 2022-10-31 11:02:44 -04:00
Makefile dm: blk: mmc: Tidy up some Makefile rules for SPL 2022-10-31 11:02:44 -04:00
sandbox.c dm: sandbox: Drop non-BLK code from host implementation 2022-11-07 16:24:30 -07:00
sb_efi_media.c efi: Add uclass for devices provided by UEFI firmware 2021-12-09 11:43:25 -08:00