summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/devices.h
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2011-12-03 18:02:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-05 09:30:27 +0100
commit36c47ce426cbe7aea59fab4c0218fe07cd80bdc0 (patch)
tree593e274cd48770a179626f793e0119a0b23d80d2 /arch/arm/mach-pxa/include/mach/devices.h
parente88417b5ef9de74944bf3d8fa86f184abbac68ea (diff)
downloadbarebox-36c47ce426cbe7aea59fab4c0218fe07cd80bdc0.tar.gz
barebox-36c47ce426cbe7aea59fab4c0218fe07cd80bdc0.tar.xz
arm/mach-pxa: Initial Intel/Marvell PXA support
The core support was brought by Marc and Sascha. The cache choice was fixed by Luotao Fu. Some gpio and devices addons were provided by Robert. Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> 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/include/mach/devices.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/devices.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/devices.h b/arch/arm/mach-pxa/include/mach/devices.h
new file mode 100644
index 0000000000..e205b7c7f2
--- /dev/null
+++ b/arch/arm/mach-pxa/include/mach/devices.h
@@ -0,0 +1,26 @@
+/*
+ * (C) 2011 Robert Jarzmik <robert.jarzmik@free.fr>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+#include <i2c/i2c.h>
+#include <mach/pxafb.h>
+
+struct device_d *pxa_add_i2c(void *base, int id,
+ struct i2c_platform_data *pdata);
+struct device_d *pxa_add_uart(void *base, int id);
+struct device_d *pxa_add_fb(void *base, struct pxafb_platform_data *pdata);
+struct device_d *pxa_add_mmc(void *base, int id, void *pdata);
+