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