linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] mmp: fix the clock rate of mmp2
@ 2010-01-06 14:06 Haojian Zhuang
  2010-01-07  2:45 ` Eric Miao
  0 siblings, 1 reply; 2+ messages in thread
From: Haojian Zhuang @ 2010-01-06 14:06 UTC (permalink / raw)
  To: linux-arm-kernel



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/3] mmp: fix the clock rate of mmp2
  2010-01-06 14:06 [PATCH 1/3] mmp: fix the clock rate of mmp2 Haojian Zhuang
@ 2010-01-07  2:45 ` Eric Miao
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Miao @ 2010-01-07  2:45 UTC (permalink / raw)
  To: linux-arm-kernel

Haojian,

We don't need this anymore, CLOCK_TICK_RATE is for legacy use,
provided it is exclusive between different SoCs (think about MMP3
using a different one, while it can be built with MMP2 together).
Are there any specific errors of this?

On Wed, Jan 6, 2010 at 10:06 PM, Haojian Zhuang
<haojian.zhuang@gmail.com> wrote:
> From d2a97d0b83a139c9771d1cece544c7ef2454741c Mon Sep 17 00:00:00 2001
> From: Haojian Zhuang <haojian.zhuang@marvell.com>
> Date: Wed, 6 Jan 2010 16:48:24 -0500
> Subject: [PATCH] [ARM] mmp: fix the clock rate of mmp2
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
> ---
> ?arch/arm/mach-mmp/include/mach/timex.h | ? ?4 ++++
> ?1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-mmp/include/mach/timex.h
> b/arch/arm/mach-mmp/include/mach/timex.h
> index 6cebbd0..70c9f1d 100644
> --- a/arch/arm/mach-mmp/include/mach/timex.h
> +++ b/arch/arm/mach-mmp/include/mach/timex.h
> @@ -6,4 +6,8 @@
> ?* published by the Free Software Foundation.
> ?*/
>
> +#ifdef CONFIG_CPU_MMP2
> +#define CLOCK_TICK_RATE ? ? ? ? ? ? ? ?6500000
> +#else
> ?#define CLOCK_TICK_RATE ? ? ? ? ? ? ? ?3250000
> +#endif
> --
> 1.5.6.5
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-07  2:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-06 14:06 [PATCH 1/3] mmp: fix the clock rate of mmp2 Haojian Zhuang
2010-01-07  2:45 ` Eric Miao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).