Skip to contentSkip to conversation

MIPS updates

GIT PULL Shinya Kuribayashi 2 participants 2 messages Jul 29, 2008

lore
Share & tools
lore
#0 lore raw

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.

cpu/mips/au1x00_serial.c +1 -1
index 6309794..e8baab5 100644
@@ -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;
#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

Hi Wolfgang,

please pull MIPS update. I'd like to make this into v1.3.4-final.

Done, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What we anticipate seldom occurs;  what  we  least  expect  generally
happens.                                          - Bengamin Disraeli