mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 00:25:50 -04:00
TI OMAP controllers which will return the reset-in-progress bit as zero if you read the status register too fast after setting the reset bit. The zero is apparently from a stale snapshot of the internal state presented in the interface register, and leads to a false indication that the reset is complete when it either hasn't started yet or is in-progress. The workaround is to first loop until the bit is seen as asserted, then do the normal loop waiting to see it de-asserted. Submitted by: Michal Meloun <meloun@miracle.cz> |
||
|---|---|---|
| .. | ||
| sdhci.c | ||
| sdhci.h | ||
| sdhci_fdt.c | ||
| sdhci_if.m | ||
| sdhci_pci.c | ||