1ebf9d526SKumar Gala /*
2*71775d3bSJerry Huang  * Copyright 2010-2011 Freescale Semiconductor, Inc.
3ebf9d526SKumar Gala  *
4ebf9d526SKumar Gala  * See file CREDITS for list of people who contributed to this
5ebf9d526SKumar Gala  * project.
6ebf9d526SKumar Gala  *
7ebf9d526SKumar Gala  * This program is free software; you can redistribute it and/or
8ebf9d526SKumar Gala  * modify it under the terms of the GNU General Public License as
9ebf9d526SKumar Gala  * published by the Free Software Foundation; either version 2 of
10ebf9d526SKumar Gala  * the License, or (at your option) any later version.
11ebf9d526SKumar Gala  *
12ebf9d526SKumar Gala  * This program is distributed in the hope that it will be useful,
13ebf9d526SKumar Gala  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14ebf9d526SKumar Gala  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15ebf9d526SKumar Gala  * GNU General Public License for more details.
16ebf9d526SKumar Gala  *
17ebf9d526SKumar Gala  * You should have received a copy of the GNU General Public License
18ebf9d526SKumar Gala  * along with this program; if not, write to the Free Software
19ebf9d526SKumar Gala  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20ebf9d526SKumar Gala  * MA 02111-1307 USA
21ebf9d526SKumar Gala  */
22ebf9d526SKumar Gala #ifndef __ICS_CLK_H_
23ebf9d526SKumar Gala #define __ICS_CLK_H_	1
24ebf9d526SKumar Gala 
25ebf9d526SKumar Gala #ifndef __ASSEMBLY__
26*71775d3bSJerry Huang 
27ebf9d526SKumar Gala extern unsigned long get_board_sys_clk(void);
28ebf9d526SKumar Gala extern unsigned long get_board_ddr_clk(void);
29*71775d3bSJerry Huang extern unsigned long ics307_sysclk_calculator(unsigned long out_freq);
30ebf9d526SKumar Gala #endif
31ebf9d526SKumar Gala 
32ebf9d526SKumar Gala #endif	/* __ICS_CLK_H_ */
33