]> git.ipfire.org Git - u-boot.git/commit
mmc: sdhci: disable the 8bit mode when host doesn't support it
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 30 Dec 2016 06:30:11 +0000 (15:30 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 11 Jan 2017 09:14:47 +0000 (18:14 +0900)
commitecd7b246f69640dfe8e28a5c78f245b8a43a4435
tree507acbf35eef34796ec4f87464cef97dc402d207
parent04770e6e917b0f766a9496e3f37bcdf2ebb1beb4
mmc: sdhci: disable the 8bit mode when host doesn't support it

Buswidth is depeneded on Hardware schematic.
Evne though host can support the 8bit buswidth, if hardware doesn't
support 8bit mode, it doesn't work fine.
So the buswidth mode selection leaves a matter in each SoC drivers.

On the contrary to this, hardware supports 8bit mode, but host doesn't
support it. then controller has to disable the MMC_MODE_8BIT.
(Host can check whether 8bit mode is supported or not, since V3.0)

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/sdhci.c