[PATCH v2 0/8] Convert mvebu_mmc driver to driver model

Harm Berntsen harm.berntsen at nedap.com
Tue Mar 30 10:19:34 CEST 2021


This series converts the existing mvebu_mmc driver to the driver model.
Only two boards in the u-boot tree were using this: openrd and
sheevaplug. The openrd board does currently not support driver model at
all. Given the deadlines for conversion, this patch series drops MMC
support for that board. The sheevaplug should still work but I don't
have hardware to test it on. I've tested the driver on an out of tree
Kirkwood board.

CC: Rick Thomas <rick.thomas at pobox.com>
CC: Chris Packham <judge.packham at gmail.com>
CC: Vagrant Cascadian <vagrant at debian.org>

Thanks for the feedback :)!
Changes in v2:
- Fixed patch style by sending patch through patman + git send-email
- Add commit text

Harm Berntsen (8):
  configs: remove unused CONFIG_SYS_MMC_BASE defs
  configs: openrd: remove non-dm MMC driver
  configs: sheevaplug: remove non-dm MMC driver
  arm: kirkwood: remove non-dm MMC driver init
  configs: remove obsolete CONFIG_SYS_MMC_BASE
  configs: remove obsolete CONFIG_MVEBU_MMC
  mmc: mvebu: convert to driver model
  configs: sheevaplug: enable driver-model based MMC

 arch/arm/mach-kirkwood/cpu.c      |   7 -
 configs/sheevaplug_defconfig      |   2 +
 drivers/mmc/Kconfig               |   9 +
 drivers/mmc/mvebu_mmc.c           | 309 ++++++++++++++++++------------
 include/configs/clearfog.h        |   5 -
 include/configs/controlcenterdc.h |   5 -
 include/configs/db-88f6820-gp.h   |   5 -
 include/configs/helios4.h         |   5 -
 include/configs/openrd.h          |   5 -
 include/configs/sheevaplug.h      |   8 -
 include/mvebu_mmc.h               |  13 +-
 scripts/config_whitelist.txt      |   2 -
 12 files changed, 196 insertions(+), 179 deletions(-)

-- 
2.31.1



More information about the U-Boot mailing list