From: Liu Ying Date: Tue, 11 Sep 2012 10:20:39 +0000 (+0800) Subject: ENGR00223797-3 ARM:IPUv3 fb:Add late init in pdata X-Git-Tag: v3.0.35-fsl~423 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3c984dadfd2d8032c38b41e3fa3a64e07acc7f00;p=karo-tx-linux.git ENGR00223797-3 ARM:IPUv3 fb:Add late init in pdata This patch adds late init field support in ipuv3 fb platform data, so that a platform may choose to not to initialize framebuffer until the user triggers set_par(), which may support smooth transition from bootloader splashimage to system UI. Signed-off-by: Liu Ying (cherry picked from commit 3a2547ac167fb2c06d9f63c7a925b9ebdc896d96) --- diff --git a/arch/arm/plat-mxc/include/mach/ipu-v3.h b/arch/arm/plat-mxc/include/mach/ipu-v3.h index 48daf4db337c..519e628d73ee 100755 --- a/arch/arm/plat-mxc/include/mach/ipu-v3.h +++ b/arch/arm/plat-mxc/include/mach/ipu-v3.h @@ -737,6 +737,13 @@ struct ipuv3_fb_platform_data { /* reserved mem */ resource_size_t res_base[2]; resource_size_t res_size[2]; + + /* + * Late init to avoid display channel being + * re-initialized as we've probably setup the + * channel in bootloader. + */ + bool late_init; }; struct imx_ipuv3_platform_data {