diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2009-06-23 13:26:23 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-06-23 14:25:26 +0200 |
commit | 574ec547c7771881e18e4e76ca970e323bcdc774 (patch) | |
tree | f82b3599bf835663a298e7708f90ae804c4cd932 /arch/arm/mach-mx3/pcm037.h | |
parent | 32c1ad9ab2ae4171d8f3dd0c70a611f799ad6775 (diff) | |
download | op-kernel-dev-574ec547c7771881e18e4e76ca970e323bcdc774.zip op-kernel-dev-574ec547c7771881e18e4e76ca970e323bcdc774.tar.gz |
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.h | 11 |
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 0000000..d692972 --- /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 |