From 00d6c47b3b73308ceb802eda469836a423bc4d06 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Fri, 4 Mar 2011 13:38:51 +0100 Subject: 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 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17654 Reviewed-by: Mattias WALLIN --- arch/arm/mach-ux500/board-mop500-sdi.c | 6 +++--- 1 file 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 | -- cgit v1.2.3