]> Git Repo - u-boot.git/commit - include/fsl_esdhc.h
mmc: i.MX6: fsl_esdhc: Define maximum bus width supported by a board
authorAbbas Raza <[email protected]>
Mon, 25 Mar 2013 09:13:34 +0000 (09:13 +0000)
committerStefano Babic <[email protected]>
Wed, 3 Apr 2013 09:26:28 +0000 (11:26 +0200)
commitaad4659a2fde4b69e8124d6fe8b57bf28d3c747d
tree93aa84da33f8f22c00314063e133af6b9675e1e2
parent2feae93ac0cba77cda1a4e0e4af8bd73135f5371
mmc: i.MX6: fsl_esdhc: Define maximum bus width supported by a board

Maximum bus width supported by some i.MX6 boards is not 8bit like
others. In case where both host controller and card support 8bit transfers,
they agree to communicate on 8bit interface while some boards support only 4bit interface.
Due to this reason the mmc 8bit default mode fails on these boards. To rectify this,
define maximum bus width supported by these boards (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 <[email protected]>
cc: stefano Babic <[email protected]>
cc: Andy Fleming <[email protected]>
Acked-by: Dirk Behme <[email protected]>
Acked-by: Andrew Gabbasov <[email protected]>
board/boundary/nitrogen6x/nitrogen6x.c
board/freescale/mx6qsabrelite/mx6qsabrelite.c
board/wandboard/wandboard.c
drivers/mmc/fsl_esdhc.c
include/fsl_esdhc.h
This page took 0.038794 seconds and 4 git commands to generate.