summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-10-29 15:54:50 +0800
committerStefano Babic <sbabic@denx.de>2015-11-12 17:40:53 +0100
commiteb111bb31d882877e75e6b8083808dcaf6493b92 (patch)
tree3c409addfc639473f9fab489fd093deb9d519818 /arch/arm
parenta3c252d6d68f9038106e0c11298438a2e50ab50f (diff)
downloadu-boot-imx-eb111bb31d882877e75e6b8083808dcaf6493b92.zip
u-boot-imx-eb111bb31d882877e75e6b8083808dcaf6493b92.tar.gz
u-boot-imx-eb111bb31d882877e75e6b8083808dcaf6493b92.tar.bz2
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')
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c7
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 d545021..bf5ae8c 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;