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