]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: restart: remove poodle restart handler
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Nov 2011 14:38:07 +0000 (14:38 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 Nov 2011 09:49:33 +0000 (09:49 +0000)
commit6fd5e2ebd48e8d196328fe8e75574838099b6c0c
treec3317fc826bd9533c0f9942c7d3c5257ebd979b3
parentd9d8fb7d7c6274e9023edcb7046db6d2aee4cc6a
ARM: restart: remove poodle restart handler

The poodle restart handler was added in 18d9314708 (3593/1: Add reboot
and shutdown handlers for Zaurus handhelds), and at that time it was
necessary to deal with the RCSR register.  This commit also forced all
restarts to use the 'hard' restart method.

In a7ee9bc10a (pxa: Fix RCSR handling), the RCSR handling was removed,
leaving just the forcing to use a 'hard' restart.  As hard restarts are
the default (in the absense of a reboot= command line argument), this
seems pointless.  In any case, Richard Purdie says:

> From what I remember that hardware either always reboots or always
> halts. I think the option was therefore left hardcoded to make it clear
> it wasn't expected to work. Later Zaurii models could do either but
> required some manual poking of registers to make it happen iirc.
>
> Regardless, you can probably clean this up as you suggest now.

So, lets remove the unnecessary interception and rely on the default
restart mode.

Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/poodle.c