commit | 3862b854740d296356a5cfd3146b270ad3501d97 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Thu Sep 21 16:29:58 2017 +0200 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Fri Jan 12 18:11:04 2018 +0900 |
tree | 8680b374866a481d3cabad19e4f8173fa769b006 | |
parent | d0c221fe7336fc7d9ada57d96f4a8911a3aac041 [diff] |
mmc: refactor MMC startup to make it easier to support new modes 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@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>