forked from Minki/linux
39f1601c3f
With the new linux/reboot.h header file dependency added, we can no longer build ixp4xx. The easiest way to avoid that is to remove the inclusion of mach/hardware.h from mach/timex.h, which does not need that header anyway. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Imre Kaloz <kaloz@openwrt.org> Cc: Krzysztof Halasa <khc@pm.waw.pl> Cc: Jason Cooper <jason@lakedaemon.net>
17 lines
432 B
C
17 lines
432 B
C
/*
|
|
* arch/arm/mach-ixp4xx/include/mach/timex.h
|
|
*
|
|
*/
|
|
|
|
#include <mach/ixp4xx-regs.h>
|
|
|
|
/*
|
|
* We use IXP425 General purpose timer for our timer needs, it runs at
|
|
* 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.
|
|
*/
|
|
#define IXP4XX_TIMER_FREQ 66666000
|
|
#define CLOCK_TICK_RATE \
|
|
(((IXP4XX_TIMER_FREQ / HZ & ~IXP4XX_OST_RELOAD_MASK) + 1) * HZ)
|
|
|