mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
ARM: pxa: prevent PXA270 occasional reboot freezes
Erratum 71 of PXA270M Processor Family Specification Update (April 19, 2010) explains that watchdog reset time is just 8us insead of 10ms in EMTS. If SDRAM is not reset, it causes memory bus congestion and the device hangs. We put SDRAM in selfresh mode before watchdog reset, removing potential freezes. Signed-off-by: Sergei Ianovich <ynvich@gmail.com> CC: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
d2c7074b95
commit
23f00caf6e
1 changed files with 1 additions and 0 deletions
|
@ -279,6 +279,7 @@ void reset_cpu(ulong ignored)
|
|||
tmp = readl(OSCR);
|
||||
tmp += 0x1000;
|
||||
writel(tmp, OSMR3);
|
||||
writel(MDREFR_SLFRSH, MDREFR);
|
||||
|
||||
for (;;)
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue