commit | ed59cd5af1c6a78332decc95959113df35d0fe9d | [log] [tgz] |
---|---|---|
author | Haojian Zhuang <haojian.zhuang@linaro.org> | Thu Aug 02 14:48:17 2018 +0800 |
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | Fri Aug 10 17:11:12 2018 +0800 |
tree | 6db1b147f56cf6d53617cb036b7b1ba0e631cfa0 | |
parent | 614d1cb90a239db8670ba18c19862d4f883f7c00 [diff] |
drivers/mmc: send CMD8 only for SD card in initialization Sending CMD8 before CMD1 just causes to fetch data failure in eMMC. Check whether it's eMMC first. If it's eMMC, send CMD1 command instead. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>