summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-zynqmp/sys_proto.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-06-21 11:57:37 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-21 11:57:37 (GMT)
commit784667d7f9452780966dd0b400ef516f14f14c26 (patch)
treec4aa03175bd50b85ee37c43b7e23f44affb9165d /arch/arm/include/asm/arch-zynqmp/sys_proto.h
parent2aaf7c49002d2595887d6d90001b7adee7a90a36 (diff)
parente625881ad77c7cc0ffc39376ae32179c933b3710 (diff)
downloadu-boot-fsl-qoriq-784667d7f9452780966dd0b400ef516f14f14c26.tar.xz
Merge tag 'xilinx-for-v2017.07' of git://www.denx.de/git/u-boot-microblaze
Xilinx changes for v2017.07 ZynqMP: - config cleanup - SD LS mode support - psu_init* cleanup - unmap OCM - Support for SMC Zynq: - add ddrc to Kconfig - add topic-miamilite board support
Diffstat (limited to 'arch/arm/include/asm/arch-zynqmp/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-zynqmp/sys_proto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynqmp/sys_proto.h b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
index 7b11895..d91d98a 100644
--- a/arch/arm/include/asm/arch-zynqmp/sys_proto.h
+++ b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
@@ -8,6 +8,8 @@
#ifndef _ASM_ARCH_SYS_PROTO_H
#define _ASM_ARCH_SYS_PROTO_H
+#define PAYLOAD_ARG_CNT 5
+
int zynq_slcr_get_mio_pin_status(const char *periph);
unsigned int zynqmp_get_silicon_version(void);
@@ -16,4 +18,10 @@ void psu_init(void);
void handoff_setup(void);
+void zynqmp_pmufw_version(void);
+int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value);
+int zynqmp_mmio_read(const u32 address, u32 *value);
+int invoke_smc(u32 pm_api_id, u32 arg0, u32 arg1, u32 arg2, u32 arg3,
+ u32 *ret_payload);
+
#endif /* _ASM_ARCH_SYS_PROTO_H */