From: Peng Fan Date: Thu, 29 Oct 2015 07:54:51 +0000 (+0800) Subject: imx: imx-common: power down lcdif before boot os X-Git-Tag: v2016.01-rc1~2^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=623787fd58c2ef2fc5a504eacc99672c464211eb;p=u-boot imx: imx-common: power down lcdif before boot os 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 Cc: Stefano Babic Cc: Eric Nelson Cc: Nikita Kiryanov Cc: Tim Harvey Cc: Fabio Estevam --- diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index d3d1fc5afa..656bb60bbe 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -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)