From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Wed, 30 Jul 2008 01:00:41 +0900 Subject: [U-Boot-Users] [GIT PULL] MIPS updates Message-ID: <488F3EA9.4090701@ruby.dti.ne.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 Signed-off-by: Shinya Kuribayashi 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;