[U-Boot] [PATCH v3 0/4] mmc: fixes for HS200/UHS core support

Jean-Jacques Hiblot jjhiblot at ti.com
Tue Nov 28 10:26:15 UTC 2017


This series applies on top of "[PATCH v2 00/26] mmc: Add support for HS200
and UHS modes"

It fixes a bug with old SD and MMC cards that support only the legacy mode.
It also addresses the comments made on the mailing list:
* dump card and host capabilities in debug mode
* use 1-bit if the DTS property 'bus-width' is not present.
* recognize the "mmc-ddr-1_2v" and "mmc-hs200-1_2v" DTS properties
* convert mmc_of_parse to livetree

Tested on DRA7, DRA72 and AM335x

changes since v2:
* use the device-oriented helpers like dev_read_u32_default() instead of using
  the livetree API
* Dump the host and card capabilities only in when debug is enabled. Also dump
  the capabilities when 'mmc info' is executed if the verbose option is enabled

changes since v1:
* convert mmc_of_parse to livetree
* squashed all changes to mmc_of_parse in a single patch


Jean-Jacques Hiblot (4):
  dm: mmc: update mmc_of_parse()
  mmc: dump card and host capabilities if debug is enabled
  mmc: Fixed a problem with old sd or mmc that do not support High speed
  mmc: all hosts support 1-bit bus width and legacy timings

 cmd/mmc.c                |  4 ++++
 drivers/mmc/mmc-uclass.c | 36 ++++++++++++++++++++----------------
 drivers/mmc/mmc.c        | 24 +++++++++++++++++++-----
 include/mmc.h            | 11 ++++++++++-
 4 files changed, 53 insertions(+), 22 deletions(-)

-- 
1.9.1



More information about the U-Boot mailing list