aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx3/pcm037.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lg@denx.de>2009-06-23 13:26:23 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-06-23 14:25:26 +0200
commit574ec547c7771881e18e4e76ca970e323bcdc774 (patch)
treef82b3599bf835663a298e7708f90ae804c4cd932 /arch/arm/mach-mx3/pcm037.h
parent32c1ad9ab2ae4171d8f3dd0c70a611f799ad6775 (diff)
ARM: add support for the EET board, based on the i.MX31 pcm037 module
The "EET" variant of the pcm037 board has an OLED display, using a S6E63D6 display controller on the first SPI interface, using GPIO57 as a chip-select for it. S6E63D6 is initialised in the boot-loader, so we only have to take care of the LCD. EET also adds several buttons and LEDs on GPIOs. This patch adds a "pcm037_variant=" kernel command line parameter to specify at boot-time which board the kernel is running on, default is "pcm970", specify "eet" for the EET board. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/pcm037.h')
-rw-r--r--arch/arm/mach-mx3/pcm037.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/pcm037.h b/arch/arm/mach-mx3/pcm037.h
new file mode 100644
index 00000000000..d6929721a5f
--- /dev/null
+++ b/arch/arm/mach-mx3/pcm037.h
@@ -0,0 +1,11 @@
+#ifndef __PCM037_H__
+#define __PCM037_H__
+
+enum pcm037_board_variant {
+ PCM037_PCM970,
+ PCM037_EET,
+};
+
+extern enum pcm037_board_variant pcm037_variant(void);
+
+#endif