diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-11-10 09:10:13 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-11-10 09:10:13 -0500 |
commit | 4eccca20a3528804d6d4583f312fbb0d59b6540b (patch) | |
tree | e0f5a52b371158905e96a32c4f9654cc48fea296 | |
parent | c34a10255407c777bfd26160d7cf2b58b8dd0537 (diff) |
RealView: Change the clcd panel controls to use RGB instead of BGR
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r-- | arch/arm/mach-realview/core.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index df5e67708c6..ccd3abdfa4c 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -232,7 +232,7 @@ static struct clcd_panel vga = { | |||
232 | .width = -1, | 232 | .width = -1, |
233 | .height = -1, | 233 | .height = -1, |
234 | .tim2 = TIM2_BCD | TIM2_IPC, | 234 | .tim2 = TIM2_BCD | TIM2_IPC, |
235 | .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), | 235 | .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1), |
236 | .bpp = 16, | 236 | .bpp = 16, |
237 | }; | 237 | }; |
238 | 238 | ||
@@ -255,7 +255,7 @@ static struct clcd_panel xvga = { | |||
255 | .width = -1, | 255 | .width = -1, |
256 | .height = -1, | 256 | .height = -1, |
257 | .tim2 = TIM2_BCD | TIM2_IPC, | 257 | .tim2 = TIM2_BCD | TIM2_IPC, |
258 | .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), | 258 | .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1), |
259 | .bpp = 16, | 259 | .bpp = 16, |
260 | }; | 260 | }; |
261 | 261 | ||
@@ -278,7 +278,7 @@ static struct clcd_panel sanyo_3_8_in = { | |||
278 | .width = -1, | 278 | .width = -1, |
279 | .height = -1, | 279 | .height = -1, |
280 | .tim2 = TIM2_BCD, | 280 | .tim2 = TIM2_BCD, |
281 | .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), | 281 | .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1), |
282 | .bpp = 16, | 282 | .bpp = 16, |
283 | }; | 283 | }; |
284 | 284 | ||
@@ -301,7 +301,7 @@ static struct clcd_panel sanyo_2_5_in = { | |||
301 | .width = -1, | 301 | .width = -1, |
302 | .height = -1, | 302 | .height = -1, |
303 | .tim2 = TIM2_IVS | TIM2_IHS | TIM2_IPC, | 303 | .tim2 = TIM2_IVS | TIM2_IHS | TIM2_IPC, |
304 | .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), | 304 | .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1), |
305 | .bpp = 16, | 305 | .bpp = 16, |
306 | }; | 306 | }; |
307 | 307 | ||
@@ -324,7 +324,7 @@ static struct clcd_panel epson_2_2_in = { | |||
324 | .width = -1, | 324 | .width = -1, |
325 | .height = -1, | 325 | .height = -1, |
326 | .tim2 = TIM2_BCD | TIM2_IPC, | 326 | .tim2 = TIM2_BCD | TIM2_IPC, |
327 | .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), | 327 | .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1), |
328 | .bpp = 16, | 328 | .bpp = 16, |
329 | }; | 329 | }; |
330 | 330 | ||