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

Przemyslaw Marczak p.marczak at samsung.com
Tue Feb 17 14:09:00 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),
then the MMC boot 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 (4):
  dm: gpio: extend gpio api by dm_gpio_set_pull()
  s5p: gpio: add implementation of dm_gpio_set_pull()
  mmc: exynos dwmmc: check boot mode before init dwmmc
  mmc: print SD/eMMC type for inited mmc devices

 drivers/gpio/gpio-uclass.c  | 12 ++++++++++++
 drivers/gpio/s5p_gpio.c     | 11 +++++++++++
 drivers/mmc/exynos_dw_mmc.c | 11 ++++++++++-
 drivers/mmc/mmc.c           |  8 ++++++++
 include/asm-generic/gpio.h  | 12 ++++++++++++
 5 files changed, 53 insertions(+), 1 deletion(-)

-- 
1.9.1



More information about the U-Boot mailing list