arm64: zynqmp: Return pmufw version for zynqmp_pmufw_version()
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 21 Aug 2018 10:14:49 +0000 (15:44 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 26 Sep 2018 08:15:00 +0000 (10:15 +0200)
commitb94a8271cc42086f3f75941c15bba265f409601d
tree0a56be90b1b86b69bb4aca2a2a6e751af1b7c172
parentfe68f2332d80aa3e8b79b76941c884030778ae76
arm64: zynqmp: Return pmufw version for zynqmp_pmufw_version()

Modify the zynqmp_pmufw_version() routine to return PMUFW version so
that it can be reused wherever required. Get PMUFW version from PMU
only once at bootup and later just return stored value.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/cpu.c
arch/arm/include/asm/arch-zynqmp/sys_proto.h
board/xilinx/zynqmp/zynqmp.c