On 12 May 2017 at 12:16, Jean-Jacques Hiblot <jjhib...@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 <jjhib...@ti.com> > --- > drivers/mmc/mmc.c | 180 > ++++++++++++++++++++++++++++++++++++++---------------- > include/mmc.h | 1 + > 2 files changed, 128 insertions(+), 53 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> Will you be using that foreach macro multiple times? _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot