diff options
Diffstat (limited to 'arch/mips/au1000/common/dbg_io.c')
-rw-r--r-- | arch/mips/au1000/common/dbg_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/au1000/common/dbg_io.c b/arch/mips/au1000/common/dbg_io.c index 79e0b0a51ace..12f5458142ae 100644 --- a/arch/mips/au1000/common/dbg_io.c +++ b/arch/mips/au1000/common/dbg_io.c | |||
@@ -56,7 +56,7 @@ typedef unsigned int uint32; | |||
56 | #define UART16550_WRITE(y, z) (au_writel(z&0xff, DEBUG_BASE + y)) | 56 | #define UART16550_WRITE(y, z) (au_writel(z&0xff, DEBUG_BASE + y)) |
57 | 57 | ||
58 | extern unsigned long get_au1x00_uart_baud_base(void); | 58 | extern unsigned long get_au1x00_uart_baud_base(void); |
59 | extern unsigned long cal_r4koff(void); | 59 | extern unsigned long calc_clock(void); |
60 | 60 | ||
61 | void debugInit(uint32 baud, uint8 data, uint8 parity, uint8 stop) | 61 | void debugInit(uint32 baud, uint8 data, uint8 parity, uint8 stop) |
62 | { | 62 | { |
@@ -64,7 +64,7 @@ void debugInit(uint32 baud, uint8 data, uint8 parity, uint8 stop) | |||
64 | if (UART16550_READ(UART_MOD_CNTRL) != 0x3) { | 64 | if (UART16550_READ(UART_MOD_CNTRL) != 0x3) { |
65 | UART16550_WRITE(UART_MOD_CNTRL, 3); | 65 | UART16550_WRITE(UART_MOD_CNTRL, 3); |
66 | } | 66 | } |
67 | cal_r4koff(); | 67 | calc_clock(); |
68 | 68 | ||
69 | /* disable interrupts */ | 69 | /* disable interrupts */ |
70 | UART16550_WRITE(UART_IER, 0); | 70 | UART16550_WRITE(UART_IER, 0); |