mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 3/4] MIPS: XBurst: fix the JZ4755's clocksource input frequency value
Date: Thu, 28 Jun 2012 12:33:11 +0200	[thread overview]
Message-ID: <20120628103311.GV1623@pengutronix.de> (raw)
In-Reply-To: <1340876689-26303-4-git-send-email-antonynpavlov@gmail.com>

On Thu, Jun 28, 2012 at 01:44:48PM +0400, Antony Pavlov wrote:
> The 40 KHz frequency value was used to parry
> __lshrdi3() error on little-endian MIPS because
> the __lshrdi3() function is used in clocksource code.
> 
> The true value of the JZ4755's external clock frequency is 12 MHz.

12MHz...

>  
> -#define JZ_TIMER_CLOCK 40000
> +#define JZ_TIMER_CLOCK 24000000

or 24MHz?

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-06-28 10:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-28  9:44 [PATCH 0/4] MIPS: XBurst: fix the JZ4755's clocksource Antony Pavlov
2012-06-28  9:44 ` [PATCH 1/4] byteorder: fix {BIG,LITTLE}_ENDIAN defines Antony Pavlov
2012-06-28 10:19   ` Sascha Hauer
2012-06-28  9:44 ` [PATCH 2/4] clocksource: move the NSEC_PER_SEC constant to common header Antony Pavlov
2012-06-28  9:44 ` [PATCH 3/4] MIPS: XBurst: fix the JZ4755's clocksource input frequency value Antony Pavlov
2012-06-28 10:33   ` Sascha Hauer [this message]
2012-06-28  9:44 ` [PATCH 4/4] MIPS: XBurst: use clocks_calc_mult_shift() for JZ4755's clocksource Antony Pavlov

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=20120628103311.GV1623@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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