commit | ec346839a5f02726604eab79c39076fdf77bfd42 | [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 | 5b1a4d94ce96e24c47dcca155e16386e49c42ffb [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>