]> git.sur5r.net Git - u-boot/commit
blackfin: Set correct early debug serial baudrate.
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 5 Feb 2013 11:10:34 +0000 (19:10 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 13 May 2013 07:47:24 +0000 (15:47 +0800)
commit79f2b3992f52334b510214c6b1b60c4200133658
treea839a67095de369dc074303ec81c493de42df0e5
parentf4d8038439fb372c91c3a27121a911c359603bcf
blackfin: Set correct early debug serial baudrate.

Calculate the early uart clock from the system clock registers set by
the bootrom other than the predefine uboot clock macros.

Split the early baudrate setting function and the normal baudrate
setting one.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/cpu/initcode.c
arch/blackfin/cpu/serial.c
arch/blackfin/cpu/serial1.h
arch/blackfin/cpu/serial4.h
arch/blackfin/include/asm/clock.h [new file with mode: 0644]
arch/blackfin/lib/clocks.c