blob: 163496930c87b613195e313d8061733d69406f35 [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);
Jerry Huang71775d32011-11-03 15:18:06 +080011extern unsigned long ics307_sysclk_calculator(unsigned long out_freq);
Kumar Galaebf9d522010-05-21 03:02:16 -050012#endif
13
14#endif /* __ICS_CLK_H_ */