From patchwork Mon Jan 7 09:23:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot, 2/2] video:cache:fix:trats: Enable dcache flush for TRATS board's LCD subsystem Date: Sun, 06 Jan 2013 23:23:10 -0000 From: =?utf-8?q?=C5=81ukasz_Majewski?= X-Patchwork-Id: 209885 Message-Id: <1357550590-4652-2-git-send-email-l.majewski@samsung.com> To: u-boot@lists.denx.de Cc: Tom Rini , Kyungmin Park lcd_set_flush_dcache(1) function is called from trats configuration file to enable lcd_sync function. Tested-at: TRATS (Exynos 4210) Tested-by: Lukasz Majewski Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang Acked-by: Minkyu Kang Acked-by: Simon Glass --- board/samsung/trats/trats.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index 88d193d..5d0fdd0 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -789,5 +789,8 @@ void init_panel_info(vidinfo_t *vid) s6e8ax0_init(); exynos_set_dsim_platform_data(&s6e8ax0_platform_data); + /* Enable flushing after LCD writes if requested */ + lcd_set_flush_dcache(1); + setenv("lcdinfo", "lcd=s6e8ax0"); }