The newer rev 1.5 of the SolidRun i.MX6 SOM can optionally come with eMMC on
the SOM. This series adds support for the eMMC device on these SOMs.

Since eMMC has card detect signal this series uses the new mmc_get_op_cond()
function that is broken out of mmc_init_start(). Successful completion of
mmc_get_op_cond() indicates that the eMMC is present.

Finally, the last patch in this series constructs the name of the kernel
device tree to load. This name is compatible with recent mainline kernels.

This series depends on the patches adding support for SOM rev 1.5 that were
posted earlier:

  https://patchwork.ozlabs.org/patch/926302/
  https://patchwork.ozlabs.org/patch/926301/

Baruch Siach (2):
  mmc: drop mention of IN_PROGRESS status
  mx6cuboxi: drop CONFIG_SYS_FSL_USDHC_NUM

Jon Nettleton (4):
  mmc: break out get_op_cond code to its own function
  mx6cuboxi: Add support for eMMC booting
  mx6cuboxi: Use mmc_get_op_cond() to check for an eMMC
  mx6cuboxi: Add emmc device tree suffix

 board/solidrun/mx6cuboxi/mx6cuboxi.c | 115 +++++++++++++++++++++++++--
 drivers/mmc/mmc.c                    |  61 ++++++++------
 include/configs/mx6cuboxi.h          |  25 +++---
 include/mmc.h                        |  12 ++-
 4 files changed, 167 insertions(+), 46 deletions(-)

-- 
2.17.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to