X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-arm%2Farch-iop3xx%2Ftimex.h;h=d9dbb443ca8c68c4c5446e449622e51e5261be80;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=2aec857754b48c60912bf846502fa0abf33515fe;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-arm/arch-iop3xx/timex.h b/include/asm-arm/arch-iop3xx/timex.h index 2aec85775..d9dbb443c 100644 --- a/include/asm-arm/arch-iop3xx/timex.h +++ b/include/asm-arm/arch-iop3xx/timex.h @@ -1,24 +1,18 @@ /* * linux/include/asm-arm/arch-iop3xx/timex.h * - * IOP310 architecture timex specifications + * IOP3xx architecture timex specifications */ #include -#ifdef CONFIG_ARCH_IQ80310 +#if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244) -#ifndef CONFIG_XSCALE_PMU_TIMER -/* This is for the on-board timer */ -#define CLOCK_TICK_RATE 33000000 /* Underlying HZ */ -#else -/* This is for the underlying xs80200 PMU clock. We run the core @ 733MHz */ -#define CLOCK_TICK_RATE 733000000 -#endif // IQ80310 +#define CLOCK_TICK_RATE IOP321_TICK_RATE -#elif defined(CONFIG_ARCH_IQ80321) +#elif defined(CONFIG_ARCH_IQ80331) -#define CLOCK_TICK_RATE 200000000 +#define CLOCK_TICK_RATE IOP331_TICK_RATE #else