arm64: zynqmp: Propagate error value from psu_init()
authorMichal Simek <michal.simek@xilinx.com>
Wed, 10 Jan 2018 10:48:48 +0000 (11:48 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Jan 2018 13:28:59 +0000 (14:28 +0100)
commitf32e79f1595e4565d3b9af44a7f80efd7f017133
treea5c2b36f4d1c401cea55b90aae8691784c1da0d3
parent7109930a70da34677fea382cbe062b29b025e208
arm64: zynqmp: Propagate error value from psu_init()

psu_init() returns int which wasn't declared and checked.
The patch is fixing function declarations and code to handle return
values properly.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/spl.c
arch/arm/include/asm/arch-zynqmp/sys_proto.h
board/xilinx/zynqmp/zynqmp.c