
Thanks Abbas,
On 03/20/2013 11:38 PM, Abbas Raza wrote:
From: Abbas Raza Abbas_Raza@mentor.com
Maximum bus width supported by SabreLite board is not 8bit like all other mx6q specific boards. In case where both host controller and card support 8bit transfers, they agree to communicate on 8bit interface while boards like the SabreLite support only 4bit interface. Due to this reason the mmc 8bit default mode fails on the SabreLite. To rectify this, define maximum bus width supported by this board (4bit). If max_bus_width is not defined, it is 0 by default and 8bit width support will be enabled in host capabilities otherwise host capabilities are modified accordingly.
It is tested with a MMCplus card.
Signed-off-by: Abbas Raza Abbas_Raza@mentor.com cc: stefano Babic sbabic@denx.de cc: Andy Fleming afleming@gmail.com Acked-by: Dirk Behme dirk.behme@de.bosch.com Acked-by: Andrew Gabbasov andrew_gabbasov@mentor.com
board/freescale/mx6qsabrelite/mx6qsabrelite.c | 3 +++ drivers/mmc/fsl_esdhc.c | 7 +++++++ include/fsl_esdhc.h | 1 + 3 files changed, 11 insertions(+)
Tested-by: Eric Nelson eric.nelson@boundarydevices.com
Note that the board settings also apply to nitrogen6x and wandboard if you want to expand the patch a bit:
http://git.denx.de/u-boot.git/?p=u-boot/u-boot-imx.git;a=blob;f=board/bounda... http://git.denx.de/u-boot.git/?p=u-boot/u-boot-imx.git;a=blob;f=board/wandbo...
I also tested against a custom board with 8-bit eMMC.
Regards,
Eric