aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebastian.rasmussen@stericsson.com>2011-03-04 13:38:51 +0100
committerHenrik Öhman <henrik.ohman@stericsson.com>2011-03-15 14:22:16 +0100
commit00d6c47b3b73308ceb802eda469836a423bc4d06 (patch)
treebcc3fa20786fc082ac586b14221fbd3d58c39dba
parentda60a5a1c3c902e543f3d0bbb5753b4bf97b59ee (diff)
mach-ux500: Extend disable timeout for SD/eMMC
To avoid unnecessarily disabling and re-enabling the PL180 eMMC controller during boot phase the disable timeout is increased to 5 seconds. To avoid the same type of re-enabling for external SD-cards its disable timeout is changed accordingly. Change-Id: I9e6f0c6bf7d8d9673efabc908a7367ccb5590f8f Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17654 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/board-mop500-sdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c
index bf6ff31720d..8d3c0517319 100644
--- a/arch/arm/mach-ux500/board-mop500-sdi.c
+++ b/arch/arm/mach-ux500/board-mop500-sdi.c
@@ -114,7 +114,7 @@ static struct mmci_platform_data mop500_sdi0_data = {
.vcc = "v-mmc",
.vcard = "v-MMC-SD",
.vdd_handler = sdi0_vdd_handler,
- .disable = 500,
+ .disable = 5000,
.bus_resume_flags = MMC_NEEDS_UNSAFE_RESUME,
.f_max = 50000000,
.capabilities = MMC_CAP_4_BIT_DATA |
@@ -204,7 +204,7 @@ static struct stedma40_chan_cfg sdi2_dma_cfg_tx = {
static struct mmci_platform_data mop500_sdi2_data = {
.vcc = "v-mmc",
- .disable = 500,
+ .disable = 5000,
.bus_resume_flags = MMC_NEEDS_UNSAFE_RESUME,
.ocr_mask = MMC_VDD_165_195,
.f_max = 50000000,
@@ -245,7 +245,7 @@ static struct stedma40_chan_cfg sdi4_dma_cfg_tx = {
static struct mmci_platform_data mop500_sdi4_data = {
.vcc = "v-mmc",
.vcard = "v-eMMC",
- .disable = 500,
+ .disable = 5000,
.bus_resume_flags = MMC_NEEDS_UNSAFE_RESUME,
.f_max = 50000000,
.capabilities = MMC_CAP_4_BIT_DATA |