arm64: zynqmp: Show reset reason
authorMichal Simek <michal.simek@xilinx.com>
Thu, 17 May 2018 12:06:06 +0000 (14:06 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 31 May 2018 11:50:39 +0000 (13:50 +0200)
commitd348beaa63fa86d298e76d18c6699b14cbcc0f0f
tree1b8ff1a1f391d53ef85e88ac605e31f4ee432fba
parentb168591c899e869dc4fcd71752cbe32c91355348
arm64: zynqmp: Show reset reason

Read reset reason reg and show it in log and also save it as variable.
Clearing reset reason when it is read to show only one status

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