summaryrefslogtreecommitdiffstats
path: root/cpu/mips/au1x00_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mips/au1x00_serial.c')
-rw-r--r--cpu/mips/au1x00_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mips/au1x00_serial.c b/cpu/mips/au1x00_serial.c
index e8baab5b1f..c25ba5a5b3 100644
--- a/cpu/mips/au1x00_serial.c
+++ b/cpu/mips/au1x00_serial.c
@@ -76,7 +76,7 @@ void serial_setbrg (void)
sd = (*sys_powerctrl & 0x03) + 2;
/* calulate 2x baudrate and round */
- divisorx2 = ((CFG_MIPS_TIMER_FREQ/(sd * 16 * CONFIG_BAUDRATE)));
+ divisorx2 = ((CONFIG_SYS_MIPS_TIMER_FREQ/(sd * 16 * CONFIG_BAUDRATE)));
if (divisorx2 & 0x01)
divisorx2 = divisorx2 + 1;
OpenPOWER on IntegriCloud