diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2022-09-26 16:45:40 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2022-10-21 15:10:43 -0500 |
commit | f462c4de5fd7d0733e074e1c1fb643fc6707e661 (patch) | |
tree | 1cfd1ee7c72c77543aaa31fe663b798f56c281c2 | |
parent | rtemsbsd/arasan_sdhci: Remove redundant clock cap (diff) | |
download | rtems-libbsd-f462c4de5fd7d0733e074e1c1fb643fc6707e661.tar.bz2 |
rtemsbsd/arasan_sdhci: Improve board/eMMC compat
This improves the compatibility of this driver across board and memory
variants by avoiding use of the HISPD mode.
-rw-r--r-- | rtemsbsd/sys/dev/sdhci/arasan_sdhci.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rtemsbsd/sys/dev/sdhci/arasan_sdhci.c b/rtemsbsd/sys/dev/sdhci/arasan_sdhci.c index bac6b148..0e87d903 100644 --- a/rtemsbsd/sys/dev/sdhci/arasan_sdhci.c +++ b/rtemsbsd/sys/dev/sdhci/arasan_sdhci.c @@ -280,6 +280,13 @@ arasan_sdhci_attach(device_t dev) } /* + * There are some combinations of board routing and eMMC memory that are + * not compatible with the HISPD mode. This disables HISPD mode for + * compatibility. + */ + sc->slot.quirks |= SDHCI_QUIRK_DONT_SET_HISPD_BIT; + + /* * DMA is not really broken, it just isn't implemented yet. */ sc->slot.quirks |= SDHCI_QUIRK_BROKEN_DMA; |