u-boot/drivers
Sean Anderson 21c84bb111 mmc: sdhci: Rework SDHCI_QUIRK_BROKEN_R1B
As noted in commit 3a6383207b ("mmc: sdhci: add the quirk for broken
r1b response"), some MMC controllers don't always set the transfer
complete bit with R1b responses.

According to the SD Host Controller Simplified Specification v4.20,

> In the case of a command pairing with response-with-busy[, Transfer
> Complete] is set when busy is de-asserted. Refer to DAT Line Active
> and Command Inhibit (DAT) in the Present State register.

By polling the DAT Line Active bit in the present state register, we can
detect when we are no longer busy, without waiting for a long timeout.
This results in much faster reads/writes on buggy controllers.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Tested-by: Henrik Grimler <henrik@grimler.se>
2023-11-01 10:01:10 +09:00
..
adc dm: adc: imx93-adc depends on ADC (fix boot) 2023-10-18 10:02:49 +02:00
ata bootstd: sata: bootdev scanning for ahci sata with no drive attached 2023-10-23 13:07:23 -04:00
axi axi: fix definition of axi_sandbox_get_emul() 2023-06-01 12:32:03 -04:00
bios_emulator common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
block rockchip: block: blk-uclass: add bounce buffer flag to blk_desc 2023-10-24 15:55:17 +08:00
bootcount common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
bus bus: Optionally include TI sysc driver in SPL/TPL 2022-12-02 08:39:00 -05:00
button dm: button: add support for linux_code in button-gpio.c driver 2023-02-10 12:50:01 -05:00
cache drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
clk clk: ti: k3-pll: Add calibration support for non fractional mode 2023-10-31 13:08:10 -04:00
core lib: acpi: Fix linking SPL when ACPIGEN is enabled 2023-10-17 20:50:52 -04:00
cpu cpu: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
crypto Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
ddr treewide: unify the linker symbol reference format 2023-08-09 09:21:42 -04:00
demo demo: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
dfu dfu: mtd: mark bad the MTD block on erase error 2023-10-13 10:49:07 +02:00
dma treewide: use dev_read_addr_*_ptr() where appropriate 2023-10-13 14:01:42 -06:00
extcon extcon: add MAX14526 MUIC support 2023-05-02 14:23:58 -04:00
fastboot common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
firmware arm_ffa: fix: remove deadcode in ffa_print_error_log() 2023-10-30 15:32:49 -04:00
fpga arm64: zynqmp: Fix Siva's email address format 2023-10-09 10:25:32 +02:00
fuzz sandbox: Implement fuzzing engine driver 2022-06-23 12:58:19 -04:00
fwu-mdata FWU: Add FWU metadata access driver for MTD storage regions 2023-06-09 13:52:40 -04:00
gpio pinctrl: sunxi: add new D1 pinctrl support 2023-10-22 23:40:57 +01:00
hwspinlock hwspinlock: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
i2c sunxi: introduce NCAT2 generation model 2023-10-22 23:41:46 +01:00
input input: avoid NULL dereference 2023-10-11 10:35:24 -04:00
iommu iommu: Implement mapping IOMMUs for PCI devices 2023-01-27 14:47:58 -05:00
led drivers: led: bcm6858: do not use null label to find the top 2023-07-25 12:44:46 -04:00
mailbox treewide: use dev_read_addr_*_ptr() where appropriate 2023-10-13 14:01:42 -06:00
memory Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mfd mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
misc misc: i2c_eeprom: consider pagesize when writing to eeprom 2023-10-30 15:32:49 -04:00
mmc mmc: sdhci: Rework SDHCI_QUIRK_BROKEN_R1B 2023-11-01 10:01:10 +09:00
mtd Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mux Correct SPL uses of MULTIPLEXER 2023-03-02 17:45:58 -05:00
net sunxi: remove CONFIG_MACPWR 2023-10-22 23:40:56 +01:00
nvme blk: Use a macro for the typical block size 2023-10-10 16:19:29 -04:00
pch x86: Convert some debug statements to use logging 2023-07-17 17:23:14 +08:00
pci Merge tag 'u-boot-rockchip-20231007' of https://source.denx.de/u-boot/custodians/u-boot-rockchip 2023-10-08 09:58:55 -04:00
pci_endpoint dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
phy phy: meson-g12a-usb2: fix ret check on power_domain_get 2023-10-18 09:45:48 +02:00
pinctrl pinctrl: npcm8xx: Add name for gpio function 2023-10-31 13:07:58 -04:00
power power: domain: add SCMI driver 2023-10-24 17:05:24 -04:00
pwm pwm: mtk: add support for MediaTek MT7988 SoC 2023-08-03 09:40:49 -04:00
qe global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
ram sunxi: add R528/T113-s3/D1(s) DRAM initialisation code 2023-10-22 23:41:52 +01:00
reboot-mode reboot-mode: Add NVMEM reboot mode 2023-01-11 11:54:50 -05:00
remoteproc common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
reset - add Amlogic A1 clock driver 2023-10-16 09:09:54 -04:00
rng drivers: rng: add support for Meson S4 2023-10-13 11:30:42 +02:00
rtc drivers: rtc: max313xx: provide read8/write8 2023-07-25 12:44:46 -04:00
scsi rockchip: block: blk-uclass: add bounce buffer flag to blk_desc 2023-10-24 15:55:17 +08:00
serial serial: introduce CONFIG_CONSOLE_FLUSH_ON_NEWLINE 2023-10-24 17:05:24 -04:00
sm Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
smem smem: msm: add missing <linux/sizes.h> 2022-10-12 08:56:24 -04:00
soc treewide: use dev_read_addr_*_ptr() where appropriate 2023-10-13 14:01:42 -06:00
sound test: test sandbox sound driver more rigorously 2022-12-05 17:43:21 +01:00
spi Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo sysinfo: gpio: fix loop over DT "revisions" array 2023-03-30 15:09:59 -04:00
sysreset spl: Allow enabling SPL_OF_REAL and SPL_OF_PLATDATA at the same time 2023-10-17 20:50:52 -04:00
tee drivers: tee: sandbox: Fix SCP03 control emulator 2023-04-28 11:30:17 -06:00
thermal thermal: imx_tmu: Increase the polling interval 2023-09-04 17:26:44 +02:00
timer riscv: andesv5: Prefer using the generic RISC-V timer driver in S-mode 2023-10-04 18:23:54 +08:00
tpm tpm: sandbox: Update for needed TPM2 capabilities 2023-10-27 13:08:25 +03:00
ufs ufs: ufs-renesas: Drop include common.h 2023-09-09 10:13:24 -04:00
usb Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
video Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi 2023-10-23 11:39:33 -04:00
virtio bootstd: Rename bootdev_setup_sibling_blk() 2023-08-09 23:31:11 +08:00
w1 dm: treewide: Do not use the return value of simple uclass iterator 2022-10-29 07:36:33 -06:00
w1-eeprom dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
watchdog wdt: nuvoton: Fix reset/expire function error 2023-10-19 07:51:12 +02:00
xen xen: Limit execution to EL1 only 2023-04-25 15:31:28 -04:00
Kconfig drivers: introduce Secure Monitor uclass 2023-10-15 12:23:48 +02:00
Makefile sunxi: add R528/T113-s3/D1(s) DRAM initialisation code 2023-10-22 23:41:52 +01:00