projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
877807e
)
lcd: atmel: Add 32bpp support for HLCDC
author
Marek Vasut
<marex@denx.de>
Fri, 23 Oct 2015 20:55:40 +0000
(22:55 +0200)
committer
Andreas Bießmann
<andreas.devel@googlemail.com>
Sun, 1 Nov 2015 21:02:16 +0000
(22:02 +0100)
Add 32bpp framebuffer support for the Atmel HLCDC driver. This is
needed for output bpp higher than 16bpp.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/video/atmel_hlcdfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/atmel_hlcdfb.c
b/drivers/video/atmel_hlcdfb.c
index 0ce237094dd79ee3e4a1db42b6eebb377953b747..960b474b76b863aa9cc59c9c8158631e88860c48 100644
(file)
--- a/
drivers/video/atmel_hlcdfb.c
+++ b/
drivers/video/atmel_hlcdfb.c
@@
-162,6
+162,10
@@
void lcd_ctrl_init(void *lcdbase)
lcdc_writel(®s->lcdc_basecfg1,
LCDC_BASECFG1_RGBMODE_16BPP_RGB_565);
break;
+ case 32:
+ lcdc_writel(®s->lcdc_basecfg1,
+ LCDC_BASECFG1_RGBMODE_24BPP_RGB_888);
+ break;
default:
BUG();
break;