[U-Boot] Should MMC drivers use CONFIG_BLK?

Hi Simon,
I was not following the changes in MMC drivers added by you.
Recently, I had some time to check those updates and convert my driver (drivers/mmc/uniphier-sd.c).
If migration is completed, MMC drivers should use CONFIG_DM_MMC_OPS CONFIG_BLK
correct?
I want to be sure if I am getting along with your DM improvement plan.

Hi Masahiro,
On 23 August 2016 at 21:27, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Hi Simon,
I was not following the changes in MMC drivers added by you.
Recently, I had some time to check those updates and convert my driver (drivers/mmc/uniphier-sd.c).
If migration is completed, MMC drivers should use CONFIG_DM_MMC_OPS CONFIG_BLK
correct?
Yes. Mea Culpa. I should have tried to do this in fewer steps. Designing the CONFIG_BLK migration was quite a challenge...
I have sent patches to enable those two options by default when CONFIG_DM_MMC is used, but have not had the intestinal fortitude to apply them yet.
I want to be sure if I am getting along with your DM improvement plan.
-- Best Regards Masahiro Yamada
Regards, Simon

Hi Simon,
2016-08-24 13:26 GMT+09:00 Simon Glass sjg@chromium.org:
Hi Masahiro,
On 23 August 2016 at 21:27, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Hi Simon,
I was not following the changes in MMC drivers added by you.
Recently, I had some time to check those updates and convert my driver (drivers/mmc/uniphier-sd.c).
If migration is completed, MMC drivers should use CONFIG_DM_MMC_OPS CONFIG_BLK
correct?
Yes. Mea Culpa. I should have tried to do this in fewer steps. Designing the CONFIG_BLK migration was quite a challenge...
I have sent patches to enable those two options by default when CONFIG_DM_MMC is used, but have not had the intestinal fortitude to apply them yet.
Thanks. I will send a patch series to let my driver migrate to DM_MMC_OPS & BLK.
participants (2)
-
Masahiro Yamada
-
Simon Glass