summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2012-01-19 14:50:19 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-01-19 14:51:50 +0100
commit8446025dbab7a6e638651df527a73847846ccbd2 (patch)
tree345dcdd7e4fe24e86370a983647488582378ffc1
parentf8b3f717949cc38d1a5ea8d4699a70b202339378 (diff)
mach-ux500: sdi: Fixing sdi0 access on snowball
This patch fix the SD/MMC boot problem on 3.2 (Bug #912302) MMC_CAP_SD_HIGHSPEED is not supported on snowball resulting on initialisation errors. There is no sdi2 on Snowball too. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Fredrik Soderstedt <fredrik.soderstedt@stericsson.com> Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
-rw-r--r--arch/arm/mach-ux500/board-mop500-sdi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c
index 1c47f60c588..a4c11f494a1 100644
--- a/arch/arm/mach-ux500/board-mop500-sdi.c
+++ b/arch/arm/mach-ux500/board-mop500-sdi.c
@@ -279,7 +279,8 @@ void __init snowball_sdi_init(void)
{
u32 periphid = 0x10480180;
- mop500_sdi2_data.capabilities |= MMC_CAP_MMC_HIGHSPEED;
+ /* On Snowball MMC_CAP_SD_HIGHSPEED isn't supported (Hardware issue?) */
+ mop500_sdi0_data.capabilities &= ~MMC_CAP_SD_HIGHSPEED;
/* On-board eMMC */
db8500_add_sdi4(&mop500_sdi4_data, periphid);