]> err.no Git - linux-2.6/commit
[ARM] pxa: Fix RCSR handling
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 8 May 2008 15:50:39 +0000 (16:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 May 2008 17:04:02 +0000 (18:04 +0100)
commitdc38e2ad53ca27968919dea6d7fa60575782d5a6
treec7311b540e910ee4e001197ace16470d94e51806
parentffebabe0bf0de9ee500d4605d6acb71e1ee3b79f
[ARM] pxa: Fix RCSR handling

Related to d3930614e68bdf83a120d904c039a64e9f75dba1.

RCSR is only present on PXA2xx CPUs, not on PXA3xx CPUs.  Therefore,
we should not be unconditionally writing to RCSR from generic code.

Since we now clear the RCSR status from the SoC specific PXA PM code
and before reset in the arch_reset() function, the duplication in
the corgi, poodle, spitz and tosa code can be removed.

Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/pm.c
arch/arm/mach-pxa/poodle.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/spitz_pm.c
arch/arm/mach-pxa/tosa.c
include/asm-arm/arch-pxa/system.h