diff options
author | Sekhar Nori <nsekhar@ti.com> | 2010-07-14 07:39:45 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-09-24 10:40:24 -0400 |
commit | 0a477f6b8c1849701981f6e00e7afcd35af75546 (patch) | |
tree | 79ee5106fc88339026e3c03cb0ac792dce3bdf83 /arch/arm/mach-davinci | |
parent | 6ef62f8204402e32259451857c1a4a04f155b56e (diff) |
davinci: dm365: disable pulldowns for all MMC/SD1 pins.
This patch disables internal pulldowns for all MMC/SD1
pins. Presently only MMCSD1_CMD pin's pull down is
disabled, but with this some MMC/SD cards do not get
detected on MMC/SD1 slot of the EVM.
The problem was reproducible with SanDisk 4GB SDHC card.
Reported-by: Stephane Bovagne <s-bovagne@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c index 8b7201e4c79c..2a9a252327d8 100644 --- a/arch/arm/mach-davinci/devices.c +++ b/arch/arm/mach-davinci/devices.c | |||
@@ -213,7 +213,7 @@ void __init davinci_setup_mmc(int module, struct davinci_mmc_config *config) | |||
213 | IO_ADDRESS(DAVINCI_SYSTEM_MODULE_BASE + 0x7c); | 213 | IO_ADDRESS(DAVINCI_SYSTEM_MODULE_BASE + 0x7c); |
214 | 214 | ||
215 | /* Configure pull down control */ | 215 | /* Configure pull down control */ |
216 | __raw_writel((__raw_readl(pupdctl1) & ~0x400), | 216 | __raw_writel((__raw_readl(pupdctl1) & ~0xfc0), |
217 | pupdctl1); | 217 | pupdctl1); |
218 | 218 | ||
219 | mmcsd1_resources[0].start = DM365_MMCSD1_BASE; | 219 | mmcsd1_resources[0].start = DM365_MMCSD1_BASE; |