u-boot/drivers/mmc
Jaehoon Chung 02ad33aa3a mmc: mmc-uclass: use the fixed devnum with alias node
If there are alias nodes as "mmc", use the devnum as alias index
number.
This patch is for fixing a problem of Exynos4 series.
Problem is the below thing.

Current legacy mode:
EXYNOS DWMMC: 0, SAMSUNG SDHCI: 1

After using DM:
SAMSUNG SDHCI: 0, EXYNOS DWMMC: 1

Dev index is swapped.
Then u-boot can't find the kernel image..because it is already set to 0 as mmcdev.
If change from legacy to DM, also needs to touch all exynos4 config file.
For using simply, just supporting the fixed devnum with alias node is better than it.

Usage:
alaise {
	....
	mmc0 = &sdhci2; /* eMMC */
	mmc1 = &sdhci1; /* SD */
	...
}

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-02-09 20:37:05 +09:00
..
arm_pl180_mmci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
atmel_sdhci.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
bcm2835_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
bfin_sdh.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
davinci_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
dw_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
exynos_dw_mmc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
fsl_esdhc_spl.c block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
fsl_esdhc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
ftsdc010_mci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
ftsdc021_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
gen_atmel_mci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
hi6220_dw_mmc.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
Kconfig mmc: atmel: rename CONFIG_ATMEL_SDHCI to CONFIG_MMC_SDHCI_ATMEL 2017-01-31 21:50:47 +09:00
kona_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
Makefile mmc: atmel: rename CONFIG_ATMEL_SDHCI to CONFIG_MMC_SDHCI_ATMEL 2017-01-31 21:50:47 +09:00
mmc_boot.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
mmc_legacy.c mmc: Tinification of the mmc code 2016-12-01 13:51:57 +09:00
mmc_private.h dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
mmc_spi.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mmc_write.c dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
mmc-uclass.c mmc: mmc-uclass: use the fixed devnum with alias node 2017-02-09 20:37:05 +09:00
mmc.c mmc: Print error code for mmc_complete_init failure 2017-01-23 15:37:42 +09:00
msm_sdhci.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
mv_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
mvebu_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mxcmmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mxsmmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
omap_hsmmc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pci_mmc.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
pic32_sdhci.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pxa_mmc_gen.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
rockchip_dw_mmc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
rockchip_sdhci.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
rpmb.c Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
s3c_sdi.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
s5p_sdhci.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
sandbox_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
sdhci-cadence.c mmc: sdhci-cadence: add Cadence SD4HC support 2017-01-11 19:40:14 +09:00
sdhci.c mmc: sdhci: Add support for optional controller specific set_ios_post() 2017-01-25 07:03:44 +01:00
sh_mmcif.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
sh_mmcif.h ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
sh_sdhi.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
socfpga_dw_mmc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
sunxi_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
tegra_mmc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
uniphier-sd.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
xenon_sdhci.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
zynq_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00