]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/sd/sdhci.c
sd: sdhci: Implement basic vendor specific register support
authorGuenter Roeck <linux@roeck-us.net>
Tue, 16 Jun 2020 09:32:29 +0000 (10:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jun 2020 09:32:29 +0000 (10:32 +0100)
commit3b2d81766fd9c957a9fcfe997ff3d692e9981c98
tree7a39f667574e7112973e2a8f3c8fe6c15fb5f5c6
parent8095508a9d8af3d83365becf45ef2a58ba3d488a
sd: sdhci: Implement basic vendor specific register support

The Linux kernel's IMX code now uses vendor specific commands.
This results in endless warnings when booting the Linux kernel.

sdhci-esdhc-imx 2194000.usdhc: esdhc_wait_for_card_clock_gate_off:
card clock still not gate off in 100us!.

Implement support for the vendor specific command implemented in IMX hardware
to be able to avoid this warning.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Message-id: 20200603145258.195920-2-linux@roeck-us.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sdhci-internal.h
hw/sd/sdhci.c
include/hw/sd/sdhci.h