summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-30 01:24:07 +0200
committerWolfgang Denk <wd@denx.de>2008-07-30 01:24:07 +0200
commit1ca9950b46c0aded14c80f728f6238625d723a19 (patch)
treecc5a15f8b2b3dc7f797796d49f4cfd86b4c69128
parent4fc72a0d6ca85070a5e90d76cc5a853526ac09c4 (diff)
parentdbd32387920e5ad6f9dd58a7b5012bbabe2a6a21 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-mips
-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 63097940ac..e8baab5b1f 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_HZ/(sd * 16 * CONFIG_BAUDRATE)));
+ divisorx2 = ((CFG_MIPS_TIMER_FREQ/(sd * 16 * CONFIG_BAUDRATE)));
if (divisorx2 & 0x01)
divisorx2 = divisorx2 + 1;