summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-zynqmp/sys_proto.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2017-02-07 14:32:26 +0100
committerMichal Simek <michal.simek@xilinx.com>2017-06-20 16:42:13 +0200
commitfb4000e87178bf20aeb0d6c6a71b0e25ff8dcda3 (patch)
treed7a2bf592e20f2825e1606c355d66e363e922c8b /arch/arm/include/asm/arch-zynqmp/sys_proto.h
parent7033ae272ed50ccb73434d501098f41430a812a8 (diff)
arm64: zynqmp: Check pmufw version
If PMUFW version is not v0.3 then panic. ZynqMP switch to CCF based clock driver which requires PMUFW to be present at certain version. This patch ensure that you use correct and tested PMUFW binary. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/include/asm/arch-zynqmp/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-zynqmp/sys_proto.h1
1 files changed, 1 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 4ae1bb6eef..d91d98a119 100644
--- a/arch/arm/include/asm/arch-zynqmp/sys_proto.h
+++ b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
@@ -18,6 +18,7 @@ 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,