]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: S3C64XX: fix uart clock setup for mini6410/real6410
authorDarius Augulis <augulis.darius@gmail.com>
Tue, 16 Nov 2010 09:08:50 +0000 (18:08 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 25 Nov 2010 01:58:11 +0000 (10:58 +0900)
commitd192a5ad59efcac88345228d056c7cd35619972a
tree800d46cd2350b7b6205204054529f95be79e834f
parent2522cd528819662678334d39b96e3b83ae6dec9a
ARM: S3C64XX: fix uart clock setup for mini6410/real6410

Don't rewrite clock config in UCON preconfigured by
bootloader. No need to set 10th bit in UCON because
[11:10] 2'b00 means source clock is PCLK too.
If set, console does not work if bootloader
has preconfigured [11:10] with 2'b00.
If not set, console works with any bootloader
config value (2'bxx).
More information about clock setup in UCON is available
in "S3C6410X RISC Microprocessor User's Manual,
Revision 1.20" p. 31-13 (Chapter 31.6.2
UART CONTROL REGISTER).

Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/mach-mini6410.c
arch/arm/mach-s3c64xx/mach-real6410.c