ArmPlatformPkg/PL180MciDxe: don't check ID_REG3
authorRyan Harkin <ryan.harkin@linaro.org>
Tue, 1 Mar 2016 08:23:20 +0000 (08:23 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Tue, 1 Mar 2016 18:06:24 +0000 (18:06 +0000)
commitd777442bb4f801e58da2bea4c43a8c29cef09057
tree94653181d5728b5d198b3e884b10521b68a2d4ea
parentb5ffaf7d70e2a6e39798b9d8bedfb7a1d6dd2902
ArmPlatformPkg/PL180MciDxe: don't check ID_REG3

TC2 reads 0x02 for the PL180 ID3 register instead of 0x00 as defined in
the spec.

However, the spec [1] states that the contents of ID3 register represent
the "configuration option of the peripheral" and thus not part of the
Prime Cell identification.

For this patch, we drop checking the value in MCI_PERIPH_ID_REG3.

[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0172a/index.html

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/Drivers/PL180MciDxe/PL180Mci.c