]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: zynqmp: Fix SVD mask for getting chip ID
authorMichal Simek <michal.simek@xilinx.com>
Wed, 28 Jun 2017 13:40:32 +0000 (15:40 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 2 Aug 2017 07:11:52 +0000 (09:11 +0200)
commitab7aace26ca5799404f70a77c14980fc2ebe9409
tree09fc4a1ee621772e02e55248f1a340293cd63ce0
parent325c0c708602d71fc3a755f763bd6bd89bc418df
arm64: zynqmp: Fix SVD mask for getting chip ID

Mask should start from the first bit - using 0xe is just wrong.
3bits are used that's why 0x7 mask is correct.
This patch is fixing silicon ID code detection. Previous behavior was
that bit0 was completely ignored.
Issue was found on 2eg chip detection.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/zynqmppl.h