diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2012-06-28 22:32:33 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-29 10:20:00 +0200 |
commit | dbf834072701075078fb460fcbaf60e407cae7a8 (patch) | |
tree | 3f03adaf551e882aa7922827033c3f78a72d841d /arch | |
parent | e172909335b6238fca9d2f3f98f4de8331ed1501 (diff) | |
download | barebox-dbf834072701075078fb460fcbaf60e407cae7a8.tar.gz barebox-dbf834072701075078fb460fcbaf60e407cae7a8.tar.xz |
MIPS: XBurst: fix the JZ4755's clocksource input frequency value
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 24 MHz.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mach-xburst/csrc-jz4750.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mach-xburst/csrc-jz4750.c b/arch/mips/mach-xburst/csrc-jz4750.c index f625b703a1..dc7135a4c4 100644 --- a/arch/mips/mach-xburst/csrc-jz4750.c +++ b/arch/mips/mach-xburst/csrc-jz4750.c @@ -28,7 +28,7 @@ #include <io.h> #include <mach/jz4750d_regs.h> -#define JZ_TIMER_CLOCK 40000 +#define JZ_TIMER_CLOCK 24000000 static uint64_t jz4750_cs_read(void) { |