]> git.sur5r.net Git - u-boot/commit
mmc: test mmc bus width on startup
authorLei Wen <leiwen@marvell.com>
Mon, 3 Oct 2011 20:35:11 +0000 (20:35 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 3 Nov 2011 07:14:59 +0000 (02:14 -0500)
commit4137894e04dc5c435012344939080a723e8c58ac
tree6dbd459cbe50dfb60ccd9e8a1a2e66e442753498
parent0560db18ecd5b6f15f8bc655868d7d2316eba261
mmc: test mmc bus width on startup

For we don't know mmc bus width from reading registers, the only way
to check is to test.

Current compare offset is:
EXT_CSD_PARTITIONING_SUPPORT
EXT_CSD_ERASE_GROUP_DEF
EXT_CSD_REV
EXT_CSD_HC_ERASE_GRP_SIZE
EXT_CSD_SEC_CNT

Signed-off-by: Lei Wen <leiwen@marvell.com>
drivers/mmc/mmc.c