From: Peng Fan Date: Thu, 29 Oct 2015 07:54:50 +0000 (+0800) Subject: imx: mx6: implement reset_misc X-Git-Tag: v2016.01-rc1~2^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eb111bb31d882877e75e6b8083808dcaf6493b92;p=u-boot imx: mx6: implement reset_misc We need to power down lcdif before uboot reset to make reset can pass stress test. Signed-off-by: Peng Fan Cc: Stefano Babic --- diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index d545021259..bf5ae8cdff 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -400,6 +400,13 @@ const struct boot_mode soc_boot_modes[] = { {NULL, 0}, }; +void reset_misc(void) +{ +#ifdef CONFIG_VIDEO_MXS + lcdif_power_down(); +#endif +} + void s_init(void) { struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR;