Hi Wolfgang,
please pull MIPS update. I'd like to make this into v1.3.4-final.
Thanks,
Shinya
---
The following changes since commit 1953d128fd07f07d1c3810a28c0863ea64dae1b6:
Michal Simek (1):
microblaze: Fix printf() format issues
are available in the git repository at:
git://git.denx.de/u-boot-mips.git master
Wolfgang Ocker (1):
mips: Fix baudrate divisor computation on alchemy cpus
cpu/mips/au1x00_serial.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit dbd32387920e5ad6f9dd58a7b5012bbabe2a6a21
Author: Wolfgang Ocker <[EMAIL PROTECTED]>
Date: Mon Jul 28 16:56:51 2008 +0200
mips: Fix baudrate divisor computation on alchemy cpus
Use CFG_MIPS_TIMER_FREQ when computing the baudrate divisor
on alchemy cpus.
Signed-off-by: Wolfgang Ocker <[EMAIL PROTECTED]>
Signed-off-by: Shinya Kuribayashi <[EMAIL PROTECTED]>
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;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users