u-boot/drivers
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
..
adc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block block: Move ceva driver to DM 2016-12-20 09:15:27 +01:00
bootcount bootcounter_ram: Fix misaligned cache warning 2016-11-28 15:10:34 -05:00
clk Merge git://git.denx.de/u-boot-dm 2017-02-08 16:24:44 -05:00
core simple-bus: enable support for of-platdata 2017-02-08 06:12:16 -07:00
cpu cpu: Add get_vendor callback 2016-10-19 09:01:51 +02:00
crypto crypto: Move CONFIG_SYS_FSL_SEC_LE and _BE to Kconfig 2017-01-04 19:40:19 -05:00
ddr ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu dfu: align array in dfu_get_dev_type with enum dfu_device_type 2016-11-03 11:55:25 +01:00
dma treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fpga fpga: zynqmp: Remove empty functions 2017-01-10 10:18:11 +01:00
gpio Merge git://git.denx.de/u-boot-dm 2017-02-08 16:24:44 -05:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
i2c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
input dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
led dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
mailbox dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc cros_ec: i2c: Add support for version 3 of the EC protocol 2017-02-08 06:12:16 -07:00
mmc mmc: mmc-uclass: use the fixed devnum with alias node 2017-02-09 20:37:05 +09:00
mtd dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
net Merge git://git.denx.de/u-boot-dm 2017-02-08 16:24:44 -05:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pcmcia
phy/marvell dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pinctrl dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
power power: pmic: add the max8997 controller for DM 2017-02-09 14:28:37 +09:00
pwm pwm: remove unneeded ifdef CONFIG_DM_PWM ... endif 2017-02-08 16:24:26 -05:00
qe powerpc: P1025: Remove macro CONFIG_P1025 2016-11-23 23:42:10 -08:00
ram
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
rtc rtc: pcf2127: Update Kconfig and code style 2017-01-14 16:47:59 -05:00
serial dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound
spi dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
spmi dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
sysreset dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
thermal imx: thermal: Kconfig: add MX7 2017-01-02 17:08:25 +01:00
timer dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
tpm lib: tpm: Add command to flush resources 2017-02-01 09:02:57 +01:00
twserial
usb dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
video dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
watchdog imx_watchdog: Do not assert WDOG_B on watchdog init 2016-10-04 12:01:14 +02:00
Kconfig fsl_ddr: Move DDR config options to driver Kconfig 2017-01-04 19:40:41 -05:00
Makefile spl: Allow PCH drivers to be used in SPL 2017-02-06 11:38:46 +08:00