]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mmc:fix: Set mmc width according to MMC host capabilities
authorŁukasz Majewski <l.majewski@samsung.com>
Mon, 12 Mar 2012 22:07:18 +0000 (22:07 +0000)
committerAndy Fleming <afleming@freescale.com>
Tue, 8 May 2012 23:02:21 +0000 (18:02 -0500)
commit62722036410b7887a04cf6705effb3122fb9b549
tree85ff614d4d3deb0cb6ea676ae0dd869c1797e2bb
parent0a6deb3251a68b5be640ab1b848ca67e906b75ce
mmc:fix: Set mmc width according to MMC host capabilities

This patch sets the MMC width according to the MMC host capabilities.
It turned out, that there are some targets (e.g. GONI), which are able
to read data from SPI only at 4 bit mode.
This patch restricts the width number according to the MMC host.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Andy Fleming <afleming@gmail.com>
drivers/mmc/mmc.c
include/mmc.h