summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2011-12-07 22:47:58 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-08 10:22:58 +0100
commit25de86661a3692051ddf875e645406b3c9b6417e (patch)
tree54986c5523825832a06028ab4fa601b418a6f2a3 /arch/arm/mach-pxa
parentf3ef46a20bd41585ae8ca3f7bfc49de22e261048 (diff)
downloadbarebox-25de86661a3692051ddf875e645406b3c9b6417e.tar.gz
barebox-25de86661a3692051ddf875e645406b3c9b6417e.tar.xz
arm/mach-pxa: add mci_pxa2xx file
Add the platform data for MMC/SD card host on the PXA SoCs. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/include/mach/mci_pxa2xx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/mci_pxa2xx.h b/arch/arm/mach-pxa/include/mach/mci_pxa2xx.h
new file mode 100644
index 0000000000..b24bc58afe
--- /dev/null
+++ b/arch/arm/mach-pxa/include/mach/mci_pxa2xx.h
@@ -0,0 +1,10 @@
+
+struct mci_host;
+struct device_d;
+
+struct pxamci_platform_data {
+ int gpio_power;
+ int gpio_power_invert;
+ int (*init)(struct mci_host*, struct device_d*);
+ int (*setpower)(struct mci_host*, int on);
+};