diff options
author | Ajay Kumar <ajaykumar.rs@samsung.com> | 2013-01-08 20:42:25 (GMT) |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-01-10 01:19:47 (GMT) |
commit | 61b59e2749451d86e73139a81f9f8995e2f4a932 (patch) | |
tree | 64860716f789565ee05ed35ecfcfcdb1abc48614 /drivers/video/exynos_fb.c | |
parent | 7b4bd121b6a6aae0b0afd5540e2459187e9ec5ec (diff) | |
download | u-boot-61b59e2749451d86e73139a81f9f8995e2f4a932.tar.xz |
video: Modify exynos_fimd driver to support LCD console
Currently, exynos FIMD driver is being used to support only TIZEN LOGOs.
In order to get LCD console, we need to enable half word swap feature
of FIMD and use 16 BPP.
LCD console and proprietary Logo cannot be used simultaneously.
We use "logo_on" field inside vidinfo_t structure to decide whether
user wants Logo or Console.
Define CONFIG_CMD_BMP and make logo_on = 1 to get Logo on screen.
Use logo_on = 0 to get output console on LCD.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/video/exynos_fb.c')
-rw-r--r-- | drivers/video/exynos_fb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/exynos_fb.c b/drivers/video/exynos_fb.c index aac74a3..183bca0 100644 --- a/drivers/video/exynos_fb.c +++ b/drivers/video/exynos_fb.c @@ -88,7 +88,9 @@ static void draw_logo(void) } addr = panel_info.logo_addr; +#ifdef CONFIG_CMD_BMP bmp_display(addr, x, y); +#endif } static void lcd_panel_on(vidinfo_t *vid) |