
15 May
2017
15 May
'17
5:28 a.m.
On 12 May 2017 at 12:16, Jean-Jacques Hiblot jjhiblot@ti.com wrote:
The SDcard startup process currently handles only 2 modes. To make it easier to add support for more modes, let's make the process more generic and use a list of the modes to try. The major functional change is that when a mode fails we try the next one. Not all modes are tried, only those supported by the card and the host.
Signed-off-by: Jean-Jacques Hiblot jjhiblot@ti.com
drivers/mmc/mmc.c | 180 ++++++++++++++++++++++++++++++++++++++---------------- include/mmc.h | 1 + 2 files changed, 128 insertions(+), 53 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
Will you be using that foreach macro multiple times?