mmc: set bus width to 1 and clock to minimum early during initialization
authorIlya Yanok <yanok@emcraft.com>
Mon, 29 Jun 2009 13:53:16 +0000 (17:53 +0400)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Jul 2009 20:07:29 +0000 (22:07 +0200)
commitb86b85e2611d57d834795a92453431a1a340c3c9
tree8c6bf495049e9e0f92635f91e4b1e45597822b23
parentcff80f2cd12bf9767509b5334ecfc90cd7de5502
mmc: set bus width to 1 and clock to minimum early during initialization

We need to switch back to 1-bit before initialization or SD 2.0 cards
will fail to send SCR if we've switched to 4-bit already.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
drivers/mmc/mmc.c