diff options
author | Bridge Wu <bridge.wu@marvell.com> | 2007-12-21 06:00:13 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:07:53 -0500 |
commit | fafc9d3fa35530c1a14e6743c477d7398b431e74 (patch) | |
tree | 21691538fe2d55b5868a23117d2b61421b6f0b1f /include/asm-arm/arch-pxa/zylonite.h | |
parent | 8f58de7c3932f659fff3b4e5fc14ca8ccf8ec873 (diff) |
[ARM] pxa: mmc: add 1st host controller support for pxa3xx
This patchis to add the first mmc controller support for pxa3xx.
It's valid for pxa3[0|1|2]0.
On zylonite, the first controller supports two slots, this patch
only support the first one right now.
Signed-off-by: Bridge Wu <bridge.wu@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-pxa/zylonite.h')
-rw-r--r-- | include/asm-arm/arch-pxa/zylonite.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/zylonite.h b/include/asm-arm/arch-pxa/zylonite.h index f58b59162b82..5f717d64ea7d 100644 --- a/include/asm-arm/arch-pxa/zylonite.h +++ b/include/asm-arm/arch-pxa/zylonite.h | |||
@@ -3,9 +3,18 @@ | |||
3 | 3 | ||
4 | #define ZYLONITE_ETH_PHYS 0x14000000 | 4 | #define ZYLONITE_ETH_PHYS 0x14000000 |
5 | 5 | ||
6 | #define EXT_GPIO(x) (128 + (x)) | ||
7 | |||
6 | /* the following variables are processor specific and initialized | 8 | /* the following variables are processor specific and initialized |
7 | * by the corresponding zylonite_pxa3xx_init() | 9 | * by the corresponding zylonite_pxa3xx_init() |
8 | */ | 10 | */ |
11 | struct platform_mmc_slot { | ||
12 | int gpio_cd; | ||
13 | int gpio_wp; | ||
14 | }; | ||
15 | |||
16 | extern struct platform_mmc_slot zylonite_mmc_slot[]; | ||
17 | |||
9 | extern int gpio_backlight; | 18 | extern int gpio_backlight; |
10 | extern int gpio_eth_irq; | 19 | extern int gpio_eth_irq; |
11 | 20 | ||