[U-Boot] [PATCH V2 0/4] exynos-dwmmc: check set init priority for boot channel
Przemyslaw Marczak
p.marczak at samsung.com
Wed Feb 18 11:51:02 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.
The patchset also adds gpio set pull option to gpio api.
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 | 11 +++++++++++
drivers/gpio/s5p_gpio.c | 28 ++++++++++++++++++++++++++++
drivers/mmc/exynos_dw_mmc.c | 11 ++++++++++-
drivers/mmc/mmc.c | 8 ++++++++
include/asm-generic/gpio.h | 22 ++++++++++++++++++++++
5 files changed, 79 insertions(+), 1 deletion(-)
--
1.9.1
More information about the U-Boot
mailing list