zynqmp: Read silicon ID register only once
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Fri, 16 Sep 2016 17:34:47 +0000 (10:34 -0700)
committerSoren Brinkmann <soren.brinkmann@xilinx.com>
Wed, 16 Nov 2016 23:48:48 +0000 (15:48 -0800)
commit466675c23daf37f6f9971b7321910e47c0c0b794
tree161ecd76092d0c90c4c80e9c508e2de3444ba504
parent90d2956aeaa9f0838400eb40d6c48935ec4c988b
zynqmp: Read silicon ID register only once

The silicon ID does not change at runtime. Skip the IO access if the
ID has been read before.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
plat/xilinx/zynqmp/aarch64/zynqmp_common.c