]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/mmc/mmc.c
mmc: Skip changing bus width for MMC cards earlier than version 4.0
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Thu, 25 Dec 2014 16:22:25 +0000 (10:22 -0600)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Mon, 19 Jan 2015 15:41:52 +0000 (17:41 +0200)
commitfc5b32fbf3bd43dabaf409e424e0bfb9a1b4df26
tree534a345ad2ff73c1a2b81acd73e20a027f5d9ed6
parentbf4770731c1fbd23befb1ffcd0436df2262a3199
mmc: Skip changing bus width for MMC cards earlier than version 4.0

Wider bus widths (larger than default 1 bit) appeared in MMC standard
version 4.0. So, for MMC cards of any earlier version trying to change
the bus width (including ext_csd comparison) does not make any sense.
It may work incorrectly and at least cause unnecessary timeouts.
So, just skip the entire bus width related activity for earlier versions.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Tested-by: Alexey Brodkin <abrodkin@synopsys.com>
drivers/mmc/mmc.c