mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 21:16:40 +07:00
dcaff04d36
The P2020 has a non-standard implementation of the SDHCI_HOST_CONTROL register. This patch adds a QUIRK in the SDHCI header to signal that a host controller has a non-standard SDHCI_HOST_CONTROL register. The patch adds a check to the function esdhc_writeb in file sdhci-of-esdhc.c, where it checks if the write is done to the SDHCI_HOST_CONTROL register and th host has the above mentioned QUIRK, then the function simply returns instead of writing to the register. The patch also detects if the processor is P2020 (by looking in dev tree) and if so, adds the QUIRK to the host->quirk2 Signed-off-by: Oded Gabbay <ogabbay@advaoptical.com> Reviewed-by: Anton Vorontsov <anton@enomsg.org> Signed-off-by: Chris Ball <cjb@laptop.org> |
||
---|---|---|
.. | ||
boot.h | ||
card.h | ||
core.h | ||
dw_mmc.h | ||
host.h | ||
mmc.h | ||
pm.h | ||
sd.h | ||
sdhci-pci-data.h | ||
sdhci-spear.h | ||
sdhci.h | ||
sdio_func.h | ||
sdio_ids.h | ||
sdio.h | ||
sh_mmcif.h | ||
sh_mobile_sdhi.h | ||
slot-gpio.h | ||
tmio.h |