]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm64: zynqmp: Fix logic in CG/EG/EV detection
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Fri, 26 Oct 2018 12:17:55 +0000 (17:47 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 19 Nov 2018 11:52:30 +0000 (12:52 +0100)
commit2d6ff7c226913eb23611bf4155e6b66359397f3d
tree0832a7c886567133bf449808e3d5702d404c9ffb
parent6aa3c6ba40be3a75f4888bf40c28e5ba7ebad64e
arm64: zynqmp: Fix logic in CG/EG/EV detection

The VCU disable bit(8) in IP disable register of efuse
is valid only if PL powered up and hence PL powerup status
has to be considered while determining the CG part also.
This patch considers the PL powerup status and ignores the VCU
disable bit if PL not powered up.
This fixes the issue of "unknown" id for CG parts if PL not powered up
and VCU bit(8) is not set.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c