]> Git Repo - u-boot.git/commitdiff
imx: imx-common: power down lcdif before boot os
authorPeng Fan <[email protected]>
Thu, 29 Oct 2015 07:54:51 +0000 (15:54 +0800)
committerStefano Babic <[email protected]>
Thu, 12 Nov 2015 16:40:54 +0000 (17:40 +0100)
Need to call lcdif_power_down to make lcdif in initial state
before kernel boot. Similar issue for uboot reset with lcdif
enabled, system will hang after serveral times resetting. Need
to let lcdif initial state to make all go well.

Signed-off-by: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Eric Nelson <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Tim Harvey <[email protected]>
Cc: Fabio Estevam <[email protected]>
arch/arm/imx-common/cpu.c

index d3d1fc5afaf19d5e44a1d831727190dc2c48b296..656bb60bbe203e7fffa2d4c8536fc9d4069f7bb5 100644 (file)
@@ -279,6 +279,9 @@ void arch_preboot_os(void)
        /* disable video before launching O/S */
        ipuv3_fb_shutdown();
 #endif
+#if defined(CONFIG_VIDEO_MXS)
+       lcdif_power_down();
+#endif
 }
 
 void set_chipselect_size(int const cs_size)
This page took 0.036362 seconds and 4 git commands to generate.