63191d4938515e452565a8cbb975ceed928c9be8
4 * ADM5120 specific hooks for MIPS CPU Counter/Compare timer
6 * Copyright (C) 2007 OpenWrt.org
7 * Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
9 * This file was based on: arch/mips/gt64120/wrppmc/time.c
10 * Original author: Mark.Zhan
11 * Copyright (C) 1996, 1997, 2004 by Ralf Baechle
12 * Copyright (C) 2006, Wind River System Inc.
14 * This program is free software; you can redistribute it and/or modify it
15 * under the terms of the GNU General Public License version 2 as published
16 * by the Free Software Foundation.
20 #include <linux/types.h>
21 #include <linux/init.h>
22 #include <linux/interrupt.h>
23 #include <linux/timex.h>
29 #include <adm5120_info.h>
30 #include <adm5120_irq.h>
32 void __init
plat_time_init(void)
34 mips_hpt_frequency
= adm5120_speed
/ 2;