Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Michal Simek | eb1dfa7 | 2013-02-04 12:38:59 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2013 Xilinx Inc. |
Michal Simek | eb1dfa7 | 2013-02-04 12:38:59 +0100 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _SYS_PROTO_H_ |
| 7 | #define _SYS_PROTO_H_ |
| 8 | |
| 9 | extern void zynq_slcr_lock(void); |
| 10 | extern void zynq_slcr_unlock(void); |
| 11 | extern void zynq_slcr_cpu_reset(void); |
Michal Simek | 15d654c | 2013-04-22 15:43:02 +0200 | [diff] [blame] | 12 | extern void zynq_slcr_devcfg_disable(void); |
| 13 | extern void zynq_slcr_devcfg_enable(void); |
Jagannadha Sutradharudu Teki | 11704c2 | 2014-01-09 01:48:21 +0530 | [diff] [blame] | 14 | extern u32 zynq_slcr_get_boot_mode(void); |
Michal Simek | 15d654c | 2013-04-22 15:43:02 +0200 | [diff] [blame] | 15 | extern u32 zynq_slcr_get_idcode(void); |
Michal Simek | 8d19162 | 2014-04-25 12:21:04 +0200 | [diff] [blame] | 16 | extern int zynq_slcr_get_mio_pin_status(const char *periph); |
Michal Simek | f5ff7bc | 2013-06-17 14:37:01 +0200 | [diff] [blame] | 17 | extern void zynq_ddrc_init(void); |
Siva Durga Prasad Paladugu | e26ef3b | 2013-11-29 19:01:25 +0530 | [diff] [blame] | 18 | extern unsigned int zynq_get_silicon_version(void); |
Michal Simek | eb1dfa7 | 2013-02-04 12:38:59 +0100 | [diff] [blame] | 19 | |
Joe Hershberger | 7f4e555 | 2016-01-26 11:57:03 -0600 | [diff] [blame] | 20 | int zynq_board_read_rom_ethaddr(unsigned char *ethaddr); |
| 21 | |
Michal Simek | eb1dfa7 | 2013-02-04 12:38:59 +0100 | [diff] [blame] | 22 | #endif /* _SYS_PROTO_H_ */ |