]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6slevk: Fix MMC breakage for the SPL target
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 13 Oct 2017 13:27:26 +0000 (10:27 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 13 Oct 2017 19:49:56 +0000 (16:49 -0300)
commit46800a79b66479c8fe29da238a2ed95d67220e2b
treeae00bcd28843f9407d42fa502840fb072fb45c24
parent3760ecfce4171eff5561ce16f3591730464e6c3f
mx6slevk: Fix MMC breakage for the SPL target

Commit 001cdbbb32ef1f6 ("imx: mx6slevk: enable more DM drivers") breaks
MMC support in U-Boot proper on the mx6slevk_spl_defconfig target:

U-Boot SPL 2017.09-00396-g6ca43a5 (Oct 01 2017 - 16:20:18)
Trying to boot from MMC1

U-Boot 2017.09-00396-g6ca43a5 (Oct 01 2017 - 16:20:18 -0300)

CPU:   Freescale i.MX6SL rev1.0 792 MHz (running at 396 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 33C
Reset cause: POR
Board: MX6SLEVK
I2C:   ready
DRAM:  1 GiB
MMC:   FSL_SDHC: 0
MMC Device 1 not found
*** Warning - No MMC card found, using default environment

As mx6slevk_spl_defconfig does not use CONFIG_DM_MMC and its
board file does not register the mmc controller for U-Boot proper,
let's fix this by adding CONFIG_DM_MMC=y and device tree support.

While at it, add more DM drivers, so that it becomes closer to
mx6slevk_defconfig.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
configs/mx6slevk_spl_defconfig