]> git.dujemihanovic.xyz Git - 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, 26 Nov 2018 09:50:54 +0000 (10:50 +0100)
commit5473f245d0a884ffd1a7f353b86d5d11e01d3ebd
treebc66670f98b92fdf2bdd44d03af2e4cc924c39db
parent23374a97fd3e8e9e6b6897ba9d3d1cb5208b9add
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