public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [GIT PULL] MIPS updates
Date: Wed, 30 Jul 2008 01:00:41 +0900	[thread overview]
Message-ID: <488F3EA9.4090701@ruby.dti.ne.jp> (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 <weo@reccoware.de>
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 <weo@reccoware.de>
    Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>

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;

             reply	other threads:[~2008-07-29 16:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 16:00 Shinya Kuribayashi [this message]
2008-07-29 23:24 ` [U-Boot-Users] [GIT PULL] MIPS updates Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2008-07-08 14:04 Shinya Kuribayashi
2008-07-09 21:24 ` Wolfgang Denk
2008-06-07  1:19 Shinya Kuribayashi
2008-06-11 20:51 ` Wolfgang Denk
2008-05-22 15:29 Shinya Kuribayashi
2008-05-06  4:34 Shinya Kuribayashi
2008-05-09 20:20 ` Wolfgang Denk
2008-05-02  3:33 Shinya Kuribayashi
2008-05-03 22:10 ` Wolfgang Denk
2008-03-25 13:04 Shinya Kuribayashi
2008-01-16 23:42 Shinya Kuribayashi
2008-01-23 13:38 ` Wolfgang Denk
2007-11-17 12:15 Shinya Kuribayashi
2007-11-18  0:28 ` Wolfgang Denk
2007-10-21 14:31 Shinya Kuribayashi
2007-11-01 21:54 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=488F3EA9.4090701@ruby.dti.ne.jp \
    --to=skuribay@ruby.dti.ne.jp \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox