[ARM] 3785/1: S3C2412: Fix idle code as default uses wrong clocks
authorBen Dooks <ben-linux@fluff.org>
Thu, 14 Sep 2006 12:29:15 +0000 (13:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 14 Sep 2006 12:29:15 +0000 (13:29 +0100)
commitc84cbb246e5a5235af30ddbe49d23bb1eaf64add
tree90ba1f16e562a64d4efe6e23470a90c74f9006e5
parenta55ee0ea51ae8f622cb3d69d81a47cb772952f73
[ARM] 3785/1: S3C2412: Fix idle code as default uses wrong clocks

Patch from Ben Dooks

Fix the idle code on the s3c2412 as the default
code is using bits in the CLKCON register that are
no-longer there.

Provide an override for the idle code, and ensure
that the power configuration is set to allow idle
instead of stop or sleep.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/s3c2412.c
include/asm-arm/arch-s3c2410/regs-power.h [new file with mode: 0644]