X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/15b54dd2c0764032b4a1ac4ad3964bbd2b159fc8..3d00b9bbe1ed2b958c6940b3b16f0f6907f1471c:/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c diff --git a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c index 466d5fd01..f475ff6dd 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c +++ b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c @@ -41,12 +41,12 @@ #include #include +#include "clock.h" + extern char *__init prom_getcmdline(void); -extern void __init jz_board_setup(void); extern void jz_restart(char *); extern void jz_halt(void); extern void jz_power_off(void); -extern void jz_time_init(void); static void __init jz_serial_setup(void) { @@ -57,7 +57,7 @@ static void __init jz_serial_setup(void) s.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST; s.iotype = SERIAL_IO_MEM; s.regshift = 2; - s.uartclk = JZ_EXTAL; + s.uartclk = jz4740_clock_bdata.ext_rate; s.line = 0; s.membase = (u8 *)UART0_BASE;