]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: pxa: prevent PXA270 occasional reboot freezes
authorSergei Ianovich <ynvich@gmail.com>
Tue, 10 Dec 2013 04:39:15 +0000 (08:39 +0400)
committerOlof Johansson <olof@lixom.net>
Thu, 12 Dec 2013 00:35:16 +0000 (16:35 -0800)
commitb8b3b8d43c7cb3d0d37070e1fd6c8368aca41f51
tree1b80c7a934808607e0050ec1a11f09b60de22e34
parent9280a2b435e0f1036c06efee0a065e413fa4cd08
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.

Without this patch PXA270-based ICP DAS LP-8x4x hangs after up to 40
reboots. With this patch it has successfully rebooted 500 times.

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-pxa/reset.c