aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/mach-zynq/include/mach/sys_proto.h
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot/arch/arm/mach-zynq/include/mach/sys_proto.h
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot/arch/arm/mach-zynq/include/mach/sys_proto.h')
-rw-r--r--roms/u-boot/arch/arm/mach-zynq/include/mach/sys_proto.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-zynq/include/mach/sys_proto.h b/roms/u-boot/arch/arm/mach-zynq/include/mach/sys_proto.h
new file mode 100644
index 000000000..1dc16d479
--- /dev/null
+++ b/roms/u-boot/arch/arm/mach-zynq/include/mach/sys_proto.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * 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);
+extern void zynq_slcr_devcfg_disable(void);
+extern void zynq_slcr_devcfg_enable(void);
+extern u32 zynq_slcr_get_boot_mode(void);
+extern u32 zynq_slcr_get_idcode(void);
+extern int zynq_slcr_get_mio_pin_status(const char *periph);
+extern void zynq_ddrc_init(void);
+extern unsigned int zynq_get_silicon_version(void);
+
+int zynq_board_read_rom_ethaddr(unsigned char *ethaddr);
+
+#endif /* _SYS_PROTO_H_ */