[U-Boot] [PATCH 0/3] dm: mmc: Tidy up use of block devices
Simon Glass
sjg at chromium.org
Sat May 27 17:37:16 UTC 2017
A recent series added a patch to avoid probing block devices in
find_mmc_device(). This is because callers should obtain the block device
itself, not the MMC device. But for now the environment code has not been
converted.
The patch caused problems on some boards so was dropped.
This series reinstates that patch, but ensures that the block device is
probed first.
Simon Glass (3):
dm: blk: Add a way to obtain a block device from its parent
dm: mmc: Ensure that block device is probed
dm: mmc: Avoid probing block devices in find_mmc_device()
common/env_mmc.c | 7 ++++++-
drivers/block/blk-uclass.c | 26 ++++++++++++++++++++++++++
drivers/mmc/mmc-uclass.c | 6 ++++--
include/blk.h | 7 +++++++
test/dm/blk.c | 18 ++++++++++++++++++
5 files changed, 61 insertions(+), 3 deletions(-)
--
2.13.0.219.gdb65acc882-goog
More information about the U-Boot
mailing list