2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2013-02-04 11:38:59 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013 Xilinx Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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-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);
|
2014-04-25 10:21:04 +00:00
|
|
|
extern int zynq_slcr_get_mio_pin_status(const char *periph);
|
2013-06-17 12:37:01 +00:00
|
|
|
extern void zynq_ddrc_init(void);
|
2013-11-29 13:31:25 +00:00
|
|
|
extern unsigned int zynq_get_silicon_version(void);
|
2013-02-04 11:38:59 +00:00
|
|
|
|
|
|
|
#endif /* _SYS_PROTO_H_ */
|