You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
0 B
16 lines
0 B
20 years ago
|
/*
|
||
17 years ago
|
* arch/arm/mach-ixp4xx/include/mach/timex.h
|
||
20 years ago
|
*
|
||
|
*/
|
||
|
|
||
17 years ago
|
#include <mach/hardware.h>
|
||
20 years ago
|
|
||
|
/*
|
||
|
* We use IXP425 General purpose timer for our timer needs, it runs at
|
||
20 years ago
|
* 66.66... MHz. We do a convulted calculation of CLOCK_TICK_RATE b/c the
|
||
|
* timer register ignores the bottom 2 bits of the LATCH value.
|
||
20 years ago
|
*/
|
||
20 years ago
|
#define FREQ 66666666
|
||
|
#define CLOCK_TICK_RATE (((FREQ / HZ & ~IXP4XX_OST_RELOAD_MASK) + 1) * HZ)
|
||
20 years ago
|
|