2013-02-04 11:38:59 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013 Xilinx Inc.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2013-02-04 11:38:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS_PROTO_H_
|
|
|
|
#define _SYS_PROTO_H_
|
|
|
|
|
|
|
|
extern void zynq_slcr_lock(void);
|
|
|
|
extern void zynq_slcr_unlock(void);
|
|
|
|
extern void zynq_slcr_cpu_reset(void);
|
2013-11-21 21:39:01 +00:00
|
|
|
extern void zynq_slcr_gem_clk_setup(u32 gem_id, unsigned long clk_rate);
|
2013-04-22 13:43:02 +00:00
|
|
|
extern void zynq_slcr_devcfg_disable(void);
|
|
|
|
extern void zynq_slcr_devcfg_enable(void);
|
2014-01-08 20:18:21 +00:00
|
|
|
extern u32 zynq_slcr_get_boot_mode(void);
|
2013-04-22 13:43:02 +00:00
|
|
|
extern u32 zynq_slcr_get_idcode(void);
|
2013-06-17 12:37:01 +00:00
|
|
|
extern void zynq_ddrc_init(void);
|
2013-02-04 11:38:59 +00:00
|
|
|
|
2013-04-22 12:56:49 +00:00
|
|
|
/* Driver extern functions */
|
|
|
|
extern int zynq_sdhci_init(u32 regbase);
|
2014-02-24 10:16:31 +00:00
|
|
|
extern int zynq_sdhci_of_init(const void *blob);
|
2013-04-22 12:56:49 +00:00
|
|
|
|
2013-02-04 11:38:59 +00:00
|
|
|
#endif /* _SYS_PROTO_H_ */
|