Skip to content
Snippets Groups Projects
Commit 0696473b authored by SRICHARAN R's avatar SRICHARAN R Committed by Albert ARIBAUD
Browse files

OMAP5: reset: Use cold reset in case of 5430ES1.0


Warm reset is not functional in case of omap5430ES1.0.
So override the weak reset_cpu function to use
cold reset instead.

Signed-off-by: default avatarR Sricharan <r.sricharan@ti.com>
parent d417d1db
No related branches found
No related tags found
No related merge requests found
......@@ -160,3 +160,17 @@ void init_omap_revision(void)
*omap_si_rev = OMAP5430_SILICON_ID_INVALID;
}
}
void reset_cpu(ulong ignored)
{
u32 omap_rev = omap_revision();
/*
* WARM reset is not functional in case of OMAP5430 ES1.0 soc.
* So use cold reset in case instead.
*/
if (omap_rev == OMAP5430_ES1_0)
writel(PRM_RSTCTRL_RESET << 0x1, PRM_RSTCTRL);
else
writel(PRM_RSTCTRL_RESET, PRM_RSTCTRL);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment