blob: 4c8a1c8f0903d6a989defe03208c59233e4699e2 [file] [log] [blame]
Kumar Galae47cc382010-05-21 03:02:16 -05001/*
Jerry Huangc0b43cf2011-11-03 15:18:06 +08002 * Copyright 2010-2011 Freescale Semiconductor, Inc.
Kumar Galae47cc382010-05-21 03:02:16 -05003 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Kumar Galae47cc382010-05-21 03:02:16 -05005 */
6#ifndef __ICS_CLK_H_
7#define __ICS_CLK_H_ 1
8
9#ifndef __ASSEMBLY__
Jerry Huangc0b43cf2011-11-03 15:18:06 +080010
Kumar Galae47cc382010-05-21 03:02:16 -050011extern unsigned long get_board_sys_clk(void);
12extern unsigned long get_board_ddr_clk(void);
Jerry Huangc0b43cf2011-11-03 15:18:06 +080013extern unsigned long ics307_sysclk_calculator(unsigned long out_freq);
Kumar Galae47cc382010-05-21 03:02:16 -050014#endif
15
16#endif /* __ICS_CLK_H_ */