u-boot/drivers
BOUGH CHEN 5cf12031a4 mmc: correct the HS400 initialization process
After the commit b9a2a0e2e9 ("mmc: Add support for downgrading
HS200/HS400 to HS mode"), it add a parameter in mmc_set_card_speed()
which indicates that the HS200/HS400 to HS downgrade is happening.

During the HS400 initialization, first select to HS200, and config
the related clock rate, then downgrade to HS mode. So here also need
to config the downgrade value to be true for two reasons. First,
make sure in the function mmc_set_card_speed(), after switch to HS
mode, first config the clock rate, then read the EXT_CSD, avoid
receiving data of EXT_CSD in HS mode at 200MHz. Second, after issue
the MMC_CMD_SWITCH command, it need to wait a bit then switch bus
properties.

Test on i.MX8QM MEK board, some Micron eMMC will stuck in transfer
mode in this case, and USDHC will never get data transfer complete
status, cause the uboot hang.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
2019-03-29 10:53:18 -04:00
..
adc adc: exynos-adc: Fix wrong bit operation used to stop the ADC 2019-03-11 15:53:19 +09:00
ata scsi: ceva: add ls2080a soc support 2018-12-06 14:38:03 -08: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 assignment without effect 2018-07-23 14:33:21 -04:00
block blk: Increase cache element size 2019-01-15 15:28:53 -05:00
board drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bootcount bootcount: add a DM RTC backing store for bootcount 2018-12-10 10:04:45 +01:00
clk clk: renesas: Add support for setting MMCIF clock divider on Gen2 2019-03-25 20:26:53 +01:00
core dm: syscon: Don't require a regmap for PCI devices 2019-02-20 15:21:44 +08:00
cpu cpu: Bind timer driver for boot hart 2019-02-27 09:12:33 +08:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr mv_ddr: ddr3: only use active chip-selects when tuning ODT 2019-03-19 09:22:05 +01:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu dfu: mmc: call fs functions instead of run_command 2019-01-30 21:22:53 -05:00
dma dma: add bcm6348-iudma support 2018-12-19 15:23:00 +01:00
fastboot fastboot: common: fix default fastboot_boot on 64-bit 2019-03-16 13:29:43 +01:00
firmware firmware: psci: introduce SPL_ARM_PSCI_FW 2018-12-12 12:14:25 -05:00
fpga ARM: socfpga: stratix10: Return valid error code from FPGA driver 2019-02-18 13:00:54 +01:00
gpio gpio: altera_pio: fix get_value 2019-02-25 16:07:36 +01:00
hwspinlock hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c i2c: i2c_cdns: Fix below warnings with checker tool 2019-03-21 08:21:43 +01:00
input Kconfig: tegra: Migrate TEGRA_KEYBOARD 2019-02-20 09:01:45 -07:00
led dm: led: move default state support in led uclass 2018-08-10 10:27:32 -04:00
mailbox drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc xilinx: common: Remove !DM_i2C code for reading mac from eeprom 2019-02-14 14:31:10 +01:00
mmc mmc: correct the HS400 initialization process 2019-03-29 10:53:18 -04:00
mtd Convert CONFIG_SF_DEFAULT_* to Kconfig 2019-03-25 17:36:53 -04:00
net drivers: net: ls1088ardb: Fix EC1 and EC2 RCW offset 2019-03-15 11:52:01 +05:30
nvme blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
pch pch: Add ioctl support 2019-02-20 15:27:08 +08:00
pci pci: pci_mvebu: Add comment about missing of_n_addr_cells() call 2019-03-19 09:22:05 +01:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy phy: sun4i-usb: Use CLK and RESET support 2019-01-18 22:19:09 +05:30
pinctrl pinctrl: add imx8m driver 2019-03-13 09:14:35 +01:00
power Merge branch 'master' of git://git.denx.de/u-boot-samsung 2019-03-14 11:37:11 -04:00
pwm pwm: sunxi: choose best prescaler to improve PWM resolution 2018-10-24 21:57:16 +05:30
qe drivers: qe: add TFABOOT support 2018-12-06 14:37:51 -08:00
ram rockchip: ram: update license for sdram driver 2019-01-02 22:37:10 +01:00
remoteproc spl: Allow remoteproc drivers to be used within SPL 2018-09-11 08:32:55 -04:00
reset reset: Add Allwinner RESET driver 2019-01-18 22:19:08 +05:30
rtc rtc: m41t62: Convert the RTC driver to support the driver model (DM) 2018-12-03 10:44:10 -05:00
scsi dm: scsi: report correct device number 2019-02-19 08:55:43 -05:00
serial imx: serial_mxc: use CONFIG_IS_ENABLED instead of ifdef 2019-03-13 09:14:35 +01:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound x86: Add sound support for samus 2019-02-20 15:27:11 +08:00
spi spi: Rename sun4i_spi.c into spi-sunxi.c 2019-03-04 18:08:56 +05:30
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset x86: Add efi runtime reset 2019-03-11 00:44:42 +01:00
tee tee: change return code for REE FS supplicant cmd 2018-12-15 11:49:19 -05:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer x86: tsc: Add support for native calibration of TSC freq 2019-02-12 14:37:16 +08:00
tpm tpm: Export the open/close functions 2018-11-29 09:30:06 -07:00
usb usb: udc-uclass: Fixed problem when no alias is defined in DT 2019-03-16 13:29:43 +01:00
video video: bmp: Add support for 24bpp BMP files on 16bpp displays 2019-02-15 16:51:12 +01: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: bcm6345: allow to use this driver on arm bcm63158 2019-02-09 07:50:59 -05:00
Kconfig x86: sandbox: pch: Add a CONFIG option for PCH 2019-02-20 15:25:30 +08:00
Makefile x86: sandbox: pch: Add a CONFIG option for PCH 2019-02-20 15:25:30 +08:00