u-boot/drivers
Lokesh Vutla 80f02019ee spl: dm_mmc: Initialize only the required mmc device
In SPL, all the available mmc devices gets initialized during boot.
This might not work in cases where clocks are not available for
certain mmc devices(other than boot device) and the support for
enabling device might not be ready.

Texas Instruments' K3 J721E device having a central system controller
(dmsc) is one such example falling in this category. Below is the
sequence for the failing scenario:
- ROM comes up in SD mode and loads SPL by just initialing SD card.
- SPL loads dmsc firmware from SD Card.
Since ROM has enabled SD, SPL need not enable the SD, just need
to re initialize the card. But SPL is trying to initialize other MMC
instances which are in disabled state. Since dmsc firmware is not yet
available, devices cannot be enabled. So in SPL, initialize only the
mmc device that is needed.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2019-10-10 10:59:48 +08:00
..
adc adc: stm32: Fix warnings when compiling with W=1 2019-07-12 11:50:55 +02:00
ata dm: scsi: Scan the actual number of ports 2019-08-26 11:46:20 -04:00
axi drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bios_emulator bios_emulator: remove stray break 2019-08-09 22:24:02 +08:00
block dm: core: Add device_foreach_child() 2019-10-08 13:57:39 +08:00
board board: gazerbeam: Fix SC detection 2019-05-21 08:03:38 +02:00
bootcount env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
cache dm: cache: add v5l2 cache controller driver 2019-09-03 09:31:03 +08:00
clk ARM: at91: Rename sama5_sfr.h to at91_sfr.h 2019-10-08 09:16:11 +03:00
core dm: core: Drop fdtdec_get_pci_addr() 2019-10-08 13:57:47 +08:00
cpu imx8: move i.MX8 cpu desc code to drivers/cpu/imx8_cpu.c 2019-10-08 16:35:59 +02:00
crypto Revert "drivers/crypto/fsl: assign job-rings to non-TrustZone" 2019-06-11 10:42:48 +02:00
ddr ddr: imx8m: Fix the ddr init hang on imx8mq 2019-10-08 16:36:37 +02:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
dma CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
fastboot env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
firmware firmware: ti_sci: Parse all resource ranges even if some is not available 2019-08-12 13:33:43 -04:00
fpga fpga: altera: cyclon2: Check function pointer before calling 2019-07-30 10:21:15 +02:00
gpio u-boot-imx-20191009 2019-10-09 11:44:45 -04:00
hwspinlock hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c i2c: mxc: add CONFIG_CLK support 2019-09-02 06:35:08 +02:00
input env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
led led: bcm6858: allow to use this driver on ARCH_963158 2019-04-23 17:57:22 -04:00
mailbox mailbox: introduce stm32-ipcc driver 2019-07-12 11:18:53 +02:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc u-boot-imx-20191009 2019-10-09 11:44:45 -04:00
mmc spl: dm_mmc: Initialize only the required mmc device 2019-10-10 10:59:48 +08:00
mtd spl: Allow tiny printf() to be controlled in SPL and TPL 2019-10-08 13:57:45 +08:00
net net: macb: Add sam9x60-macb compatibility string 2019-10-08 09:16:11 +03:00
nvme nvme: add accessor to namespace id and eui64 2019-10-06 16:02:37 +02:00
pch x86: Allow the PCH and LPC uclasses to work with of-platdata 2019-10-08 13:57:48 +08:00
pci sandbox: pci: Create a new sandbox_pci_read_bar() function 2019-10-08 13:57:48 +08:00
pci_endpoint pci_ep: Fix Coverity warning 2019-08-07 15:31:04 -04:00
phy Kconfig: Varios: Fix more SPL, TPL dependencies 2019-08-26 11:46:29 -04:00
pinctrl pinctrl: nxp: DM_FLAG_PRE_RELOC by default 2019-10-08 16:36:37 +02:00
power imx: add support for i.MX8MQ power domain controller 2019-10-08 16:36:36 +02:00
pwm pwm: imx: add DM_PWM support 2019-07-19 20:14:50 +02:00
qe env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
ram ram: rk3288: Initialize dram for TPL builds 2019-09-19 09:35:31 +08:00
remoteproc stm32mp1: Add remoteproc support for m4 coprocessor 2019-08-27 11:19:23 +02:00
reset imx: add support for i.MX7/i.MX8MQ reset controller 2019-10-08 16:36:36 +02:00
rtc rtc: ds3231/ds3232: fix coding style 2019-09-19 12:18:53 -04:00
scsi env: Move env_set_ulong() to env.h 2019-08-11 16:43:41 -04:00
serial u-boot-imx-20191009 2019-10-09 11:44:45 -04:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc soc: ti: k3-navss-ringacc: fix k3_nav_ringacc_ring_reset_dma 2019-09-13 11:56:08 -04:00
sound sound: tegra: Add a sound driver 2019-05-24 10:14:10 -07:00
spi spi: fsl_qspi: Add support for QSPI on iMX7ULP 2019-10-08 16:36:37 +02:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +08:00
tee env: Drop the ACTION typedef 2019-08-11 16:43:41 -04:00
thermal thermal: add i.MX8 thermal driver 2019-07-19 15:17:05 +02:00
timer dm: timer: Skip device that does not have a valid ofnode in pre_probe() 2019-07-24 12:54:08 -07:00
tpm tpm: wait for valid status 2019-07-11 14:11:18 -04:00
usb Merge branch 'master' of git://git.denx.de/u-boot-usb 2019-09-14 19:56:09 -04:00
video sunxi: video: HDMI: Fix LCD clock divider 2019-09-21 10:52:57 +02:00
virtio virtio: Add a Sandbox transport driver 2018-11-14 09:16:28 -08:00
w1 w1: Add driver for i.MX bus master controller 2019-01-01 14:12:18 +01:00
w1-eeprom w1-eeprom: Add support for Maxim DS2502 add only memory 2018-11-16 16:51:55 -05:00
watchdog watchdog: move WATCHDOG_TIMEOUT_MSECS to Kconfig 2019-10-08 07:46:38 +02:00
Kconfig Drop PCMCIA 2019-08-11 19:27:41 -04:00
Makefile Drop PCMCIA 2019-08-11 19:27:41 -04:00