emmc: support CMD23
Support CMD23. When CMD23 is used, CMD12 could be avoided.

Two scenarios:
1. CMD17 for single block, CMD18 + CMD12 for multiple blocks.
2. CMD23 + CMD18 for both single block and multiple blocks.

The emmc_init() should initialize whether CMD23 is supported
or not.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
1 parent 3d99b17 commit 445b1e704ec5734da9e96a44c9d24f50e3da25c0
@Haojian Zhuang Haojian Zhuang authored on 2 Aug 2016
Showing 2 changed files
View
drivers/emmc/emmc.c
View
include/drivers/emmc.h