diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-30 01:24:07 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-30 01:24:07 +0200 |
commit | 1ca9950b46c0aded14c80f728f6238625d723a19 (patch) | |
tree | cc5a15f8b2b3dc7f797796d49f4cfd86b4c69128 /cpu | |
parent | 4fc72a0d6ca85070a5e90d76cc5a853526ac09c4 (diff) | |
parent | dbd32387920e5ad6f9dd58a7b5012bbabe2a6a21 (diff) | |
download | u-boot-imx-1ca9950b46c0aded14c80f728f6238625d723a19.zip u-boot-imx-1ca9950b46c0aded14c80f728f6238625d723a19.tar.gz u-boot-imx-1ca9950b46c0aded14c80f728f6238625d723a19.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mips/au1x00_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mips/au1x00_serial.c b/cpu/mips/au1x00_serial.c index 6309794..e8baab5 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; |