2014-03-05 04:13:53 +00:00
|
|
|
/*
|
2017-04-25 18:44:33 +00:00
|
|
|
* Copyright (C) 2013-2017 Altera Corporation <www.altera.com>
|
2014-03-05 04:13:53 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
2017-04-25 18:44:33 +00:00
|
|
|
#ifndef _CLOCK_MANAGER_H_
|
|
|
|
#define _CLOCK_MANAGER_H_
|
2014-03-05 04:13:53 +00:00
|
|
|
|
2014-09-08 12:08:45 +00:00
|
|
|
#ifndef __ASSEMBLER__
|
2017-04-25 18:44:33 +00:00
|
|
|
void cm_wait_for_lock(u32 mask);
|
|
|
|
int cm_wait_for_fsm(void);
|
|
|
|
void cm_print_clock_quick_summary(void);
|
2014-09-08 12:08:45 +00:00
|
|
|
#endif
|
|
|
|
|
2017-04-25 18:44:33 +00:00
|
|
|
#if defined(CONFIG_TARGET_SOCFPGA_GEN5)
|
|
|
|
#include <asm/arch/clock_manager_gen5.h>
|
|
|
|
#endif
|
2014-03-05 04:13:53 +00:00
|
|
|
#endif /* _CLOCK_MANAGER_H_ */
|