Skip to content
Commit 8e40644b authored by Jonathan Bell's avatar Jonathan Bell Committed by Phil Elwell
Browse files

mmc: sd: halt CQHCI before issuing a cache flush command



SD cards perform cache flushes by a CMD49 extension register write -
which needs to be started from the SDHCI command/argument registers and
not a CQHCI slot.

Host access to SD/CQ registers should be exclusive to one or the other,
so issue a halt before doing the command.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent edd63f01
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment