summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach
diff options
context:
space:
mode:
authorChristian Glindkamp <christian.glindkamp@taskit.de>2010-12-09 11:15:59 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2010-12-17 12:10:39 +0100
commitc20b4dd31820a551d0fb60bf27b99345905c2eb6 (patch)
tree470d233028356edf47a4a7898660e8d1e8ca2164 /arch/arm/mach-at91/include/mach
parent8251544f9e28058e54c4f35b7cd13b0d191d7555 (diff)
downloadblackbird-obmc-linux-c20b4dd31820a551d0fb60bf27b99345905c2eb6.tar.gz
blackbird-obmc-linux-c20b4dd31820a551d0fb60bf27b99345905c2eb6.zip
at91: Refactor Stamp9G20 and PControl G20 board file
As PControl G20 is a carrier board for the Stamp9G20 SoM, some code can be shared. Therefore board-stamp9g20.c is refactored to allow reusing the SoM initialization and board-pcontrol-g20.c is modified to use it. Signed-off-by: Christian Glindkamp <christian.glindkamp@taskit.de> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/include/mach')
-rw-r--r--arch/arm/mach-at91/include/mach/stamp9g20.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/stamp9g20.h b/arch/arm/mach-at91/include/mach/stamp9g20.h
new file mode 100644
index 000000000000..6120f9c46d59
--- /dev/null
+++ b/arch/arm/mach-at91/include/mach/stamp9g20.h
@@ -0,0 +1,7 @@
+#ifndef __MACH_STAMP9G20_H
+#define __MACH_STAMP9G20_H
+
+void stamp9g20_map_io(void);
+void stamp9g20_board_init(void);
+
+#endif
OpenPOWER on IntegriCloud