From: Peng Fan Date: Thu, 19 May 2016 05:02:16 +0000 (+0800) Subject: imx: mx7: implement reset_misc X-Git-Tag: v2016.07-rc2~49^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f8fa184fc1acb6fe8e15e3bbbfcb916e6bc4cc1;p=pandora-u-boot.git imx: mx7: implement reset_misc We need to power down lcdif to make 'reset' can pass stress test. Signed-off-by: Peng Fan Cc: Stefano Babic --- diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7/soc.c index 073bbc6d014..ef46c92b098 100644 --- a/arch/arm/cpu/armv7/mx7/soc.c +++ b/arch/arm/cpu/armv7/mx7/soc.c @@ -441,3 +441,11 @@ void s_init(void) return; } + +void reset_misc(void) +{ +#ifdef CONFIG_VIDEO_MXS + lcdif_power_down(); +#endif +} +