mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
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>
This commit is contained in:
parent
a3c252d6d6
commit
eb111bb31d
1 changed files with 7 additions and 0 deletions
|
@ -400,6 +400,13 @@ const struct boot_mode soc_boot_modes[] = {
|
||||||
{NULL, 0},
|
{NULL, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void reset_misc(void)
|
||||||
|
{
|
||||||
|
#ifdef CONFIG_VIDEO_MXS
|
||||||
|
lcdif_power_down();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
void s_init(void)
|
void s_init(void)
|
||||||
{
|
{
|
||||||
struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR;
|
struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR;
|
||||||
|
|
Loading…
Add table
Reference in a new issue