[PATCH 3/4] MIPS: XBurst: fix the JZ4755's clocksource input frequency value

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 28 06:33:11 EDT 2012


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 |



More information about the barebox mailing list