[ARM] pxa/MioA701: change reset function to preserve RTC.
commita0361a8afeaa07274e21907e4488eedceb12e3d6
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 15 Nov 2008 15:09:58 +0000 (15 16:09 +0100)
committerEric Miao <eric.miao@marvell.com>
Tue, 2 Dec 2008 06:43:48 +0000 (2 14:43 +0800)
tree916b540bbb3a16b28aad365d1fe31d84e2a25e82
parent8e7ccddf0fd22617a3edc28ab2ce2fac0fb94823
[ARM] pxa/MioA701: change reset function to preserve RTC.

Change the halt and reboot method from gpio based to "jump
to ROM IPL beginning". This gives control back to IPL, which
without PowerOn key pressed, will put the device into deep
sleep until PowerOn is pressed for 1 second.

But this has the benefit of keeping the RTC registers across
reboots, which is good for OS change.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/mioa701.c