|
From: <bob...@us...> - 2007-07-07 08:51:33
|
Revision: 1112
http://svn.sourceforge.net/hackndev/?rev=1112&view=rev
Author: bobofdoom
Date: 2007-07-07 01:51:32 -0700 (Sat, 07 Jul 2007)
Log Message:
-----------
PalmLD: Configure MMC GPIOs on boot.
Closes: 21
Modified Paths:
--------------
linux4palm/linux/trunk/arch/arm/mach-pxa/palmld/palmld.c
Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmld/palmld.c
===================================================================
--- linux4palm/linux/trunk/arch/arm/mach-pxa/palmld/palmld.c 2007-07-07 04:17:31 UTC (rev 1111)
+++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmld/palmld.c 2007-07-07 08:51:32 UTC (rev 1112)
@@ -68,6 +68,14 @@
{
int err;
+ pxa_gpio_mode(GPIO32_MMCCLK_MD);
+ pxa_gpio_mode(GPIO112_MMCCMD_MD);
+ pxa_gpio_mode(GPIO92_MMCDAT0_MD);
+ pxa_gpio_mode(GPIO109_MMCDAT1_MD);
+ pxa_gpio_mode(GPIO110_MMCDAT2_MD);
+ pxa_gpio_mode(GPIO111_MMCDAT3_MD);
+ pxa_gpio_mode(GPIO_NR_PALMLD_SD_DETECT_N | GPIO_IN);
+
/**
* Setup an interrupt for detecting card insert/remove events
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|