projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a unified s3c24x0 header file
[oweals/u-boot.git]
/
cpu
/
mips
/
au1x00_serial.c
diff --git
a/cpu/mips/au1x00_serial.c
b/cpu/mips/au1x00_serial.c
index 63097940acc81db2e759614fc0cf42c324392328..c25ba5a5b3fc01130998fb652670094051aee72a 100644
(file)
--- 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 = ((C
FG_HZ
/(sd * 16 * CONFIG_BAUDRATE)));
+ divisorx2 = ((C
ONFIG_SYS_MIPS_TIMER_FREQ
/(sd * 16 * CONFIG_BAUDRATE)));
if (divisorx2 & 0x01)
divisorx2 = divisorx2 + 1;