[PATCH 2/3] arm/mach-pxa: add mci_pxa2xx file
Robert Jarzmik
robert.jarzmik at free.fr
Tue Dec 6 15:11:57 EST 2011
Add the platform data for MMC/SD card host on the PXA SoCs.
Signed-off-by: Robert Jarzmik <robert.jarzmik at free.fr>
---
arch/arm/mach-pxa/include/mach/mci_pxa2xx.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-pxa/include/mach/mci_pxa2xx.h
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 0000000..b24bc58
--- /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);
+};
--
1.7.5.4
More information about the barebox
mailing list