diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-23 20:02:10 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 07:03:05 -0600 |
commit | 854f9a71f594555858cdffce18f6183a75d1d730 (patch) | |
tree | ac7493eb55054b0a51c2bda436958e35dfdf1572 /configs/imx6ul_geam_mmc_defconfig | |
parent | 66656020ff180e2a689fbe83fcd02c3e42ecdc30 (diff) | |
download | u-boot-854f9a71f594555858cdffce18f6183a75d1d730.tar.gz |
dm: mmc: Rewrite mmc_blk_probe()
This function is called when the MMC block device is being probed. There
is a recursive call in this function since find_mmc_device() itself can
cause the MMC device to be probed.
Admittedly the MMC device should already be probed, since we would not be
probing its child otherwise, but the current code is unnecessarily
convoluted.
Rewrite this to access the MMC structure directly.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/imx6ul_geam_mmc_defconfig')
0 files changed, 0 insertions, 0 deletions