]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00223797-3 ARM:IPUv3 fb:Add late init in pdata
authorLiu Ying <Ying.liu@freescale.com>
Tue, 11 Sep 2012 10:20:39 +0000 (18:20 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:28 +0000 (08:35 +0200)
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 <Ying.Liu@freescale.com>
(cherry picked from commit 3a2547ac167fb2c06d9f63c7a925b9ebdc896d96)

arch/arm/plat-mxc/include/mach/ipu-v3.h

index 48daf4db337c6449ba519ac3c690089adf07fc19..519e628d73ee64d6c0401d3f1e0c614b67cc9d75 100755 (executable)
@@ -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 {