blob: 81d1aa715d5c044ee4340fd820811453091fbcc3 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Kumar Galaebf9d522010-05-21 03:02:16 -05002/*
Jerry Huang71775d32011-11-03 15:18:06 +08003 * Copyright 2010-2011 Freescale Semiconductor, Inc.
Kumar Galaebf9d522010-05-21 03:02:16 -05004 */
5#ifndef __ICS_CLK_H_
6#define __ICS_CLK_H_ 1
7
8#ifndef __ASSEMBLY__
Jerry Huang71775d32011-11-03 15:18:06 +08009
Kumar Galaebf9d522010-05-21 03:02:16 -050010extern unsigned long get_board_sys_clk(void);
11extern unsigned long get_board_ddr_clk(void);
Jerry Huang71775d32011-11-03 15:18:06 +080012extern unsigned long ics307_sysclk_calculator(unsigned long out_freq);
Kumar Galaebf9d522010-05-21 03:02:16 -050013#endif
14
15#endif /* __ICS_CLK_H_ */