]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
mmc: Access mode validation for eMMC cards > 2 GiB
authorŁukasz Majewski <l.majewski@samsung.com>
Tue, 5 Jul 2011 02:19:44 +0000 (02:19 +0000)
committerAndy Fleming <afleming@freescale.com>
Sat, 16 Jul 2011 01:29:21 +0000 (20:29 -0500)
commitb1f1e821d335de58d362bf3013c93cef86cdb356
tree0f058682c3f873e291671d93f8be6e7275431c73
parentafb35666da107ccac076b30aed1ad90e7bbcffae
mmc: Access mode validation for eMMC cards > 2 GiB

This patch provides handling of the two way handshake when SEND_OP_COND
(CMD1) is send to mmc card. It is necessary to inform eMMC card if the
host can work with high capacity cards (Jedec JESD84-A441, point 7.4.3).

The extra flag MMC_MODE_HC (high capacity) is added to indicate if the
host is capable of handling the high capacity eMMC cards.

Since this change is added to the generic mmc framework, then it requires
other boards to indicate if their mmc controllers can handle high capacity
cards. As it is now - the old behaviour of the framework is preserved.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/mmc/mmc.c
drivers/mmc/s5p_mmc.c
include/mmc.h