drivers: mmc: Fix some issues with MMC stack
Some bugs in MMC stack needs to be fixed:
- scr cannot be local as this will cause cache issue when invalidating
after the read DMA transfer is completed
- ACMD41 needs to send voltage information in initialization, otherwise the
command is a query, thus will not initialize the controller
- when checking device state, retry until the retries counter goes to zero
before failing

Signed-off-by: Tien Hock, Loh <tien.hock.loh@intel.com>
1 parent 1cf55ab commit a468e756377ebe73920eb83f4a4425cabab66ebc
@Tien Hock, Loh Tien Hock, Loh authored on 6 Mar 2019
Showing 2 changed files
View
drivers/mmc/mmc.c
View
include/drivers/mmc.h