summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-03-24 15:45:16 +0100
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-03-26 14:49:39 +0100
commitecb1bd894e7238acfc6174602c29190d239be9b1 (patch)
treed78d119d6b62a6897f4d1e8a7b9c31e35860e713 /arch
parentavr32: add pin mask for 18-bit color on the LCD controller (diff)
downloadlinux-ecb1bd894e7238acfc6174602c29190d239be9b1.tar.xz
linux-ecb1bd894e7238acfc6174602c29190d239be9b1.zip
avr32: set pin mask to alternative 18 bpp for EVKLCD10x boards
This patch will set the pin mask to alternative 18 bits per pixel output for EVKLCD10x boards. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/avr32/boards/atngw100/evklcd10x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/avr32/boards/atngw100/evklcd10x.c b/arch/avr32/boards/atngw100/evklcd10x.c
index 8140b22b3461..fbc7b03ef886 100644
--- a/arch/avr32/boards/atngw100/evklcd10x.c
+++ b/arch/avr32/boards/atngw100/evklcd10x.c
@@ -149,7 +149,8 @@ static int __init atevklcd10x_init(void)
at32_add_device_ac97c(0, &ac97c0_data);
at32_add_device_lcdc(0, &atevklcd10x_lcdc_data,
- fbmem_start, fbmem_size, 1);
+ fbmem_start, fbmem_size,
+ ATMEL_LCDC_ALT_18BIT | ATMEL_LCDC_PE_DVAL);
return 0;
}
postcore_initcall(atevklcd10x_init);