summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-03-24 17:45:16 +0300
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-03-26 16:49:39 +0300
commitecb1bd894e7238acfc6174602c29190d239be9b1 (patch)
treed78d119d6b62a6897f4d1e8a7b9c31e35860e713
parent2ae6d5d8f067753e29248863ad7a242eff6fdb0b (diff)
downloadlinux-ecb1bd894e7238acfc6174602c29190d239be9b1.tar.xz
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>
-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);