[U-Boot] [PATCH 2/2] video:cache:fix:trats: Enable dcache flush for TRATS board's LCD subsystem

Simon Glass sjg at chromium.org
Tue Jan 8 02:08:27 CET 2013


On Mon, Jan 7, 2013 at 1:23 AM, Lukasz Majewski <l.majewski at samsung.com> wrote:
> 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 <l.majewski at samsung.com>
> Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> Cc: Minkyu Kang <mk7.kang at samsung.com>

Acked-by: Simon Glass <sjg at chromium.org>

> ---
>  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");
>  }
> --
> 1.7.2.3
>


More information about the U-Boot mailing list