diff options
author | Marek Vasut <marex@denx.de> | 2015-10-23 20:55:40 (GMT) |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2015-11-01 21:02:16 (GMT) |
commit | 8c1b717218aff5a1eae0f045dcb64088f3728102 (patch) | |
tree | feedd7a9b90f3b1977c5067c119137db9d34e975 | |
parent | 877807e193340b2586bc328bb000f32fde986be4 (diff) | |
download | u-boot-fsl-qoriq-8c1b717218aff5a1eae0f045dcb64088f3728102.tar.xz |
lcd: atmel: Add 32bpp support for HLCDC
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>
-rw-r--r-- | drivers/video/atmel_hlcdfb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c index 0ce2370..960b474 100644 --- 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; |