mbox series

[U-Boot,0/6] mx6cuboxi: Add support for SOMs with eMMC

Message ID cover.1528719594.git.baruch@tkos.co.il
Headers show
Series mx6cuboxi: Add support for SOMs with eMMC | expand

Message

Baruch Siach June 11, 2018, 12:26 p.m. UTC
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(-)

Comments

Stefano Babic July 23, 2018, 9:25 a.m. UTC | #1
On 11/06/2018 14:26, Baruch Siach wrote:
> 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(-)
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic