]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r273264, r274409, r278212, r278213:
authorloos <loos@FreeBSD.org>
Sat, 14 Feb 2015 19:28:26 +0000 (19:28 +0000)
committerloos <loos@FreeBSD.org>
Sat, 14 Feb 2015 19:28:26 +0000 (19:28 +0000)
commitc8630fd03efeecb182d2a5ca13d20bce4079da7e
tree2899f4e3392952174125c19ebcbcb221ba20f72a
parent6e901283bfe9dc91060013de0488a0da8307ab53
MFC: r273264, r274409, r278212, r278213:

Add a workaround needed to fix a bug of Arasan Host Controller where it may
lose the contents of consecutive writes (that happens within two SD card
clock cycles).

This fixes the causes of instability during the SD card detection and
identification on Raspberry Pi (which happens at 400 kHz and so was much
more vulnerable to this issue).

Remove the previous workaround which clearly can't provide the same effect.

Remove stale comments about the issues with HS mode.

Remove a previous workaround to limit the minimum sdhci frequency that
isn't needed anymore.

Remove some duplicate calls to bus_release_resource() and destroy the mutex
on error cases.

While here remove unnecessary includes.
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c