summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorBridge Wu <bridge.wu@marvell.com>2007-12-21 11:00:13 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 15:07:53 (GMT)
commitfafc9d3fa35530c1a14e6743c477d7398b431e74 (patch)
tree21691538fe2d55b5868a23117d2b61421b6f0b1f /include/asm-arm
parent8f58de7c3932f659fff3b4e5fc14ca8ccf8ec873 (diff)
downloadlinux-fafc9d3fa35530c1a14e6743c477d7398b431e74.tar.xz
[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')
-rw-r--r--include/asm-arm/arch-pxa/zylonite.h9
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 f58b591..5f717d6 100644
--- a/include/asm-arm/arch-pxa/zylonite.h
+++ b/include/asm-arm/arch-pxa/zylonite.h
@@ -3,9 +3,18 @@
#define ZYLONITE_ETH_PHYS 0x14000000
+#define EXT_GPIO(x) (128 + (x))
+
/* the following variables are processor specific and initialized
* by the corresponding zylonite_pxa3xx_init()
*/
+struct platform_mmc_slot {
+ int gpio_cd;
+ int gpio_wp;
+};
+
+extern struct platform_mmc_slot zylonite_mmc_slot[];
+
extern int gpio_backlight;
extern int gpio_eth_irq;