u-boot/drivers
Maxime Ripard ead3697d7e mmc: sunxi: fix legacy MMC initialisation
The driver-model rework changed, among other things, the way the private
data were moved around. It now uses the private field in the struct mmc.

However, the mmc_create argument was changed in the process to always pass
the array we used to have to store our private structures.

The basically means that all the MMC driver instances will now have the
private data of the first instance, which obviously doesn't work very well.

Pass the proper pointer to mmc_create.

Fixes: 034e226bc7 ("dm: mmc: sunxi: Pass private data around explicitly")
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2017-08-28 22:38:05 +05:30
..
adc dm: adc: Convert uclass to livetree 2017-06-01 07:03:13 -06:00
ata dm: sata: dwc_ahsata: Add support for driver model 2017-08-17 16:44:17 +09:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block dm: blk: Update return value in blk_create_devicef() 2017-08-17 16:44:16 +09:00
bootcount env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
clk clk: rmobile: Split R8A7795 and R8A7796 core clock tables 2017-08-26 07:04:49 +09:00
core dm: core: Avoid calling dm_scan_fdt_dev() with of-platdata 2017-08-17 16:44:16 +09:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto Convert CONFIG_CMD_HASH to Kconfig 2017-05-22 12:38:15 -04:00
ddr env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
dma imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
firmware dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
fpga fpga: xilinx: Avoid using local intermediate buffer 2017-08-02 09:11:52 +02:00
gpio stm32f1: remove stm32f1 support 2017-08-13 15:17:37 -04:00
i2c i2c: muxes: add i2c gpio multiplexer driver 2017-08-23 07:04:56 +02:00
input env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc rockchip: efuse: dm: change to use dev_read_addr 2017-07-27 14:59:00 +02:00
mmc mmc: sunxi: fix legacy MMC initialisation 2017-08-28 22:38:05 +05:30
mtd mtd: cfi: staticize functions 2017-08-22 09:56:09 +02:00
net Merge git://www.denx.de/git/u-boot-imx 2017-08-16 18:12:00 -04:00
nvme nvme: Handle zero Maximum Data Transfer Size (MDTS) 2017-08-13 15:17:33 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci vbe: Drop vbe_get_video_info() 2017-08-24 11:00:47 +08:00
pcmcia Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver 2017-08-11 15:41:51 -04:00
phy phy: add a NO-OP phy driver 2017-07-28 23:34:44 +02:00
pinctrl ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00
power regulator: palmas: disable bypass when the LDO is enabled 2017-08-01 11:58:01 +09:00
pwm dm: tegra: pwm: Convert to livetree 2017-07-28 12:02:47 -06:00
qe QE: add QE support on SD boot 2017-06-01 19:56:54 -07:00
ram ram: kconfig: s/SPL/TPL/ in TPL_RAM help text 2017-08-26 14:56:06 -04:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset reset: uniphier: refactor reset data and add NAND/eMMC reset lines 2017-08-20 23:06:20 +09:00
rtc env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
scsi env: Rename common functions related to setenv() 2017-08-16 08:23:32 -04:00
serial serial: serial-uclass: Add generic serial RX buffer support 2017-08-24 11:00:47 +08:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi x86: ich-spi: Move opcode registers configuration to another routine 2017-08-24 11:00:47 +08:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset rockchip: rk322x: add sysreset driver 2017-07-11 12:13:46 +02:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer driver: timer: Add the Atmel PIT timer driver 2017-08-26 14:56:08 -04:00
tpm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
usb fastboot: Ensure we treat CONFIG_FASTBOOT_BUF_ADDR as long 2017-08-22 08:20:02 -04:00
video env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
watchdog wdt: Update uclass to make clear that the timeout is in ms 2017-08-13 15:17:34 -04:00
Kconfig nvme: Add NVM Express driver support 2017-08-13 15:17:31 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-rockchip 2017-08-14 10:40:01 -04:00