diff options
author | Bridge Wu <bridge.wu@marvell.com> | 2007-12-21 06:15:36 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:07:53 -0500 |
commit | 8d33b05581d1bc66e2356957bb2739e177a9cc36 (patch) | |
tree | 17812d30092a1e0634e6af50a3764ed9676b9657 /arch/arm/mach-pxa/zylonite_pxa320.c | |
parent | fafc9d3fa35530c1a14e6743c477d7398b431e74 (diff) |
[ARM] pxa: mmc: add 2nd host controller support for pxa3xx
This patch is to add the second mmc controller support for pxa3xx.
It's valid for pxa3[0|1|2]0.
On zylonite, the second controller has no slot.
Signed-off-by: Bridge Wu <bridge.wu@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/zylonite_pxa320.c')
-rw-r--r-- | arch/arm/mach-pxa/zylonite_pxa320.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/zylonite_pxa320.c b/arch/arm/mach-pxa/zylonite_pxa320.c index 593f7bffb3b4..1036da3315d8 100644 --- a/arch/arm/mach-pxa/zylonite_pxa320.c +++ b/arch/arm/mach-pxa/zylonite_pxa320.c | |||
@@ -104,6 +104,14 @@ static mfp_cfg_t mfp_cfg[] __initdata = { | |||
104 | GPIO22_MMC1_CLK, | 104 | GPIO22_MMC1_CLK, |
105 | GPIO23_MMC1_CMD,/* CMD0 for slot 0 */ | 105 | GPIO23_MMC1_CMD,/* CMD0 for slot 0 */ |
106 | GPIO31_GPIO, /* CMD1 default as GPIO for slot 0 */ | 106 | GPIO31_GPIO, /* CMD1 default as GPIO for slot 0 */ |
107 | |||
108 | /* MMC2 */ | ||
109 | GPIO24_MMC2_DAT0, | ||
110 | GPIO25_MMC2_DAT1, | ||
111 | GPIO26_MMC2_DAT2, | ||
112 | GPIO27_MMC2_DAT3, | ||
113 | GPIO28_MMC2_CLK, | ||
114 | GPIO29_MMC2_CMD, | ||
107 | }; | 115 | }; |
108 | 116 | ||
109 | #define NUM_LCD_DETECT_PINS 7 | 117 | #define NUM_LCD_DETECT_PINS 7 |