Re: [U-Boot] [PATCH v5 1/8] dm: mmc: use block layer in mmc driver

2018-08-10 Thread Y.b. Lu
Hi Yinbo, > -Original Message- > From: Yinbo Zhu [mailto:yinbo@nxp.com] > Sent: Friday, August 10, 2018 3:52 PM > To: Yinbo Zhu ; york...@freescale.com; > u-boot@lists.denx.de > Cc: Y.b. Lu ; Xiaobo Xie ; Andy > Tang ; Peng Ma > Subject: [PATCH v5 1/8] dm: mmc: use block layer in mmc

[U-Boot] [PATCH v5 1/8] dm: mmc: use block layer in mmc driver

2018-08-10 Thread Yinbo Zhu
At present the MMC subsystem maintains its own list of MMC devices. This cannot work with driver model when CONFIG_BLK is enabled, use blk_dread to replace previous mmc read interface, use mmc_get_blk_desc to get the mmc device property Signed-off-by: Yinbo Zhu --- Change in v5: