提交 eb111bb3 编写于 作者: P Peng Fan 提交者: Stefano Babic

imx: mx6: implement reset_misc

We need to power down lcdif before uboot reset to make reset can pass
stress test.
Signed-off-by: NPeng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
上级 a3c252d6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册