[U-Boot] [PATCH 0/3] dm: mmc: Tidy up use of block devices

Jaehoon Chung jh80.chung at samsung.com
Fri Jun 2 03:18:13 UTC 2017


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(-)
> 



More information about the U-Boot mailing list