ARM: pxa: prevent PXA270 occasional reboot freezes
authorSergei Ianovich <ynvich@gmail.com>
Tue, 17 Dec 2013 01:03:40 +0000 (05:03 +0400)
committerMarek Vasut <marex@denx.de>
Wed, 18 Dec 2013 15:00:37 +0000 (16:00 +0100)
commit23f00caf6ebb9bcb804e48f5a4630629f64af471
tree53dfe23adb8a16de1152550e82ae03c566011a8c
parentd2c7074b9593d822e2359a09c21747248fdf5fac
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>
arch/arm/cpu/pxa/pxa2xx.c