[U-Boot] [PATCH V3 0/2] exynos-dwmmc: set init priority for boot channel

Przemyslaw Marczak p.marczak at samsung.com
Fri Feb 20 12:29:25 CET 2015


The dw mmc driver init priority was always the same: ch 0, ch 1, ch 2.
On some boards (e.g. Odroid XU3) the dwmmc driver is enabled for all
mmc channels. In this case, when boot device is switchable (SD/eMMC),
the default MMC device will be 0 or 1.
Change the init priority to boot device, always init the boot device as
mmc 0.
This fixes the issue with 'saveenv' command, because the MMC env device
number is always the same.

Przemyslaw Marczak (2):
  mmc: exynos dwmmc: check boot mode before init dwmmc
  mmc: print SD/eMMC type for inited mmc devices

 drivers/mmc/exynos_dw_mmc.c | 11 ++++++++++-
 drivers/mmc/mmc.c           |  8 ++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

-- 
1.9.1



More information about the U-Boot mailing list