summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2017-02-07 13:32:26 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2017-06-20 14:42:13 (GMT)
commitfb4000e87178bf20aeb0d6c6a71b0e25ff8dcda3 (patch)
treed7a2bf592e20f2825e1606c355d66e363e922c8b /arch/arm/include/asm
parent7033ae272ed50ccb73434d501098f41430a812a8 (diff)
downloadu-boot-fb4000e87178bf20aeb0d6c6a71b0e25ff8dcda3.tar.xz
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')
-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 4ae1bb6..d91d98a 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,