[U-Boot] dm: mmc: fsl_esdhc: Drop mmc_init() call from fsl_esdhc_init()

Y.b. Lu yangbo.lu at nxp.com
Fri Nov 24 10:18:16 UTC 2017


Any suggestion?
Thanks.

From: Y.b. Lu
Sent: 2017年11月21日 14:11
To: u-boot at lists.denx.de
Cc: 'Simon Glass' <sjg at chromium.org>; Jaehoon Chung <jh80.chung at samsung.com>; Yinbo Zhu <yinbo.zhu at nxp.com>; Xiaobo Xie <xiaobo.xie at nxp.com>
Subject: dm: mmc: fsl_esdhc: Drop mmc_init() call from fsl_esdhc_init()

Hi Simon,

I found your below patch just dropping mmc_create() for probe procedure of DM.
Actually the description seemed to be not the things this patch did.

dm: mmc: fsl_esdhc: Drop mmc_init() call from fsl_esdhc_init()

Do you have any suggestion to fix it?
mmc_create() will allocate mmc structure and the DM in fsl_esdhc also allocate mmc structure in fsl_esdhc_plat structure.
Do we need to rework the mmc_create(), or move rest initialization of mmc_create() in to fsl_esdhc_probe() ?

Thanks a lot.

Best regards,
Yangbo Lu



More information about the U-Boot mailing list