
Hi Jaehoon,
On 1 June 2017 at 21:18, Jaehoon Chung jh80.chung@samsung.com wrote:
Hi Simon,
On 05/28/2017 02:37 AM, Simon Glass wrote:
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.
Is there a patch before applying these patches? When i tried to apply patches from patchwork, it doesn't apply.
Best Regards, Jaehoon Chung
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(-)
Yes - it is at u-boot-dm/mmc-working. I think the prerequisites will land in master tonight.
Regards, Simon