diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-16 16:43:23 +0900 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-04-29 11:19:05 +0200 |
commit | 9b9c6516b0119a4abe71b1598b2258c591f955f5 (patch) | |
tree | ee43008b510e80939bd79974e3330ff32b682dff /arch/arm/mach-zynq/include/mach/sys_proto.h | |
parent | 0107f2403669f764ab726d0d404e35bb9447bbcc (diff) |
ARM: zynq: move SoC headers to mach-zynq/include/mach
Move arch/arm/include/asm/arch-zynq/*
-> arch/arm/mach-zynq/include/mach/*
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq/include/mach/sys_proto.h')
-rw-r--r-- | arch/arm/mach-zynq/include/mach/sys_proto.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/include/mach/sys_proto.h b/arch/arm/mach-zynq/include/mach/sys_proto.h new file mode 100644 index 0000000000..9d50e2478f --- /dev/null +++ b/arch/arm/mach-zynq/include/mach/sys_proto.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2013 Xilinx Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#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_gem_clk_setup(u32 gem_id, unsigned long clk_rate); +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); + +/* Driver extern functions */ +extern int zynq_sdhci_init(phys_addr_t regbase); +extern int zynq_sdhci_of_init(const void *blob); + +extern void ps7_init(void); + +#endif /* _SYS_PROTO_H_ */ |