Commit | Line | Data |
---|---|---|
171bb2f1 JC |
1 | /* |
2 | * This program is free software; you can redistribute it and/or modify it | |
3 | * under the terms of the GNU General Public License version 2 as published | |
4 | * by the Free Software Foundation. | |
5 | * | |
6 | * Copyright (C) 2010 John Crispin <blogic@openwrt.org> | |
7 | */ | |
8 | ||
9 | #ifndef _LTQ_CLK_H__ | |
10 | #define _LTQ_CLK_H__ | |
11 | ||
12 | extern void clk_init(void); | |
13 | ||
14 | extern unsigned long ltq_get_cpu_hz(void); | |
15 | extern unsigned long ltq_get_fpi_hz(void); | |
16 | extern unsigned long ltq_get_io_region_clock(void); | |
17 | ||
18 | #endif |