[ARM] 4412/1: S3C2412: reset errata fix
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 May 2007 17:19:16 +0000 (18:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 30 May 2007 12:15:23 +0000 (13:15 +0100)
commiteca8c2424171b6b6b2dcb0faa92dfddd1e3297d9
tree680afa1b68832a4a81f07d706e4249a0f4290afa
parent486cab2ba25b469f7a8822e84fd43960a472e3d9
[ARM] 4412/1: S3C2412: reset errata fix

The S3C2412 has an reset-errata where the clock
may cause a glitch switching back to EXTCLK. We
force a switch to EXTCLK before writing the
reset register to force use of the CLKCON sync
logic to properly switch.

Fix problem reported by Matthieu Castet.

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