diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-05-19 05:02:16 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-05-31 15:42:31 (GMT) |
commit | 9f8fa184fc1acb6fe8e15e3bbbfcb916e6bc4cc1 (patch) | |
tree | 0a8b3016bf01b0096bff102f56387636ff48b0a7 /arch/arm/cpu | |
parent | cb82c38eff193d6b0685e26020109ca5cac9f0ea (diff) | |
download | u-boot-fsl-qoriq-9f8fa184fc1acb6fe8e15e3bbbfcb916e6bc4cc1.tar.xz |
imx: mx7: implement reset_misc
We need to power down lcdif to make 'reset' can pass stress test.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/mx7/soc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7/soc.c index 073bbc6..ef46c92 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 +} + |