diff options
author | Peng Fan | 2015-10-29 15:54:50 +0800 |
---|---|---|
committer | Stefano Babic | 2015-11-12 17:40:53 +0100 |
commit | eb111bb31d882877e75e6b8083808dcaf6493b92 (patch) | |
tree | 3c409addfc639473f9fab489fd093deb9d519818 /arch/arm/cpu/armv7 | |
parent | a3c252d6d68f9038106e0c11298438a2e50ab50f (diff) |
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 <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index d545021259f..bf5ae8cdffd 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; |