[U-Boot] [PATCH 10/22] mmc: refactor MMC startup to make it easier to support new modes

Simon Glass sjg at chromium.org
Mon May 15 03:28:10 UTC 2017


On 12 May 2017 at 12:16, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
> The MMC startup process currently handles 4 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 at ti.com>
> ---
>  drivers/mmc/mmc.c | 238 +++++++++++++++++++++++++++++++++---------------------
>  include/mmc.h     |  15 +++-
>  2 files changed, 157 insertions(+), 96 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list