Kumar Gala | e47cc38 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 1 | /* |
Jerry Huang | c0b43cf | 2011-11-03 15:18:06 +0800 | [diff] [blame] | 2 | * Copyright 2010-2011 Freescale Semiconductor, Inc. |
Kumar Gala | e47cc38 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Kumar Gala | e47cc38 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 5 | */ |
| 6 | #ifndef __ICS_CLK_H_ |
| 7 | #define __ICS_CLK_H_ 1 |
| 8 | |
| 9 | #ifndef __ASSEMBLY__ |
Jerry Huang | c0b43cf | 2011-11-03 15:18:06 +0800 | [diff] [blame] | 10 | |
Kumar Gala | e47cc38 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 11 | extern unsigned long get_board_sys_clk(void); |
| 12 | extern unsigned long get_board_ddr_clk(void); |
Jerry Huang | c0b43cf | 2011-11-03 15:18:06 +0800 | [diff] [blame] | 13 | extern unsigned long ics307_sysclk_calculator(unsigned long out_freq); |
Kumar Gala | e47cc38 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 14 | #endif |
| 15 | |
| 16 | #endif /* __ICS_CLK_H_ */ |