Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Kumar Gala | ebf9d52 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 2 | /* |
Jerry Huang | 71775d3 | 2011-11-03 15:18:06 +0800 | [diff] [blame] | 3 | * Copyright 2010-2011 Freescale Semiconductor, Inc. |
Kumar Gala | ebf9d52 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 4 | */ |
| 5 | #ifndef __ICS_CLK_H_ |
| 6 | #define __ICS_CLK_H_ 1 |
| 7 | |
| 8 | #ifndef __ASSEMBLY__ |
Jerry Huang | 71775d3 | 2011-11-03 15:18:06 +0800 | [diff] [blame] | 9 | |
Kumar Gala | ebf9d52 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 10 | extern unsigned long get_board_sys_clk(void); |
| 11 | extern unsigned long get_board_ddr_clk(void); |
Jerry Huang | 71775d3 | 2011-11-03 15:18:06 +0800 | [diff] [blame] | 12 | extern unsigned long ics307_sysclk_calculator(unsigned long out_freq); |
Kumar Gala | ebf9d52 | 2010-05-21 03:02:16 -0500 | [diff] [blame] | 13 | #endif |
| 14 | |
| 15 | #endif /* __ICS_CLK_H_ */ |