diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-05-22 13:09:58 +0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-09 14:42:35 +0100 |
commit | 5c3675b9db2f92170fff94681e3f4c6b3e165873 (patch) | |
tree | ec265ce6d4fc483350e053db67de895d24d298a4 /tools/mkimage.c | |
parent | c875182fd4100b22f036dabc45d4ef81d520b368 (diff) |
MLK-10546-2 imx: mx7 implement reset_misc
On mx7d 12x12 lpddr3 arm2 board, POR_B reset in uboot will fail stress
reset test, and hangs in rom code. Rom log buffer show thats wrong
hab_image_entry and runs into serial download mode. Also there is no
time delay reset circuit for this board.
We found when disable CONFIG_VIDEO, all seems fine. Actually,
only the following piece of code can make stress reset ok,
"
writel(LCDIF_CTRL1_VSYNC_EDGE_IRQ, ®s->hw_lcdif_ctrl1_clr);
while (--timeout) {
if (readl(®s->hw_lcdif_ctrl1) & LCDIF_CTRL1_VSYNC_EDGE_IRQ)
break;
udelay(1);
}
"
Here we use lcdif_power_down API which is better to shutdown lcdif same as
the way used in arch_preboot_os.
Implement reset_misc for mx7, since it does not hurt for others boards.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'tools/mkimage.c')
0 files changed, 0 insertions, 0 deletions