diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2016-03-01 08:20:40 +0000 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2016-03-01 18:06:16 +0000 |
commit | b5ffaf7d70e2a6e39798b9d8bedfb7a1d6dd2902 (patch) | |
tree | 748eb6984fc58b2836f41d483196bb9c00936d97 /ArmPlatformPkg/Drivers | |
parent | cde024957bb2907185180e221c58fdff39ec11f5 (diff) | |
download | edk2-b5ffaf7d70e2a6e39798b9d8bedfb7a1d6dd2902.zip edk2-b5ffaf7d70e2a6e39798b9d8bedfb7a1d6dd2902.tar.gz edk2-b5ffaf7d70e2a6e39798b9d8bedfb7a1d6dd2902.tar.bz2 |
ArmPlatformPkg/PL180MciDxe: warn on probe fail
If the PL180 fails to probe, issue a warning on debug builds.
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>
Diffstat (limited to 'ArmPlatformPkg/Drivers')
-rw-r--r-- | ArmPlatformPkg/Drivers/PL180MciDxe/PL180Mci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmPlatformPkg/Drivers/PL180MciDxe/PL180Mci.c b/ArmPlatformPkg/Drivers/PL180MciDxe/PL180Mci.c index 688cd8a..3e94ea5 100644 --- a/ArmPlatformPkg/Drivers/PL180MciDxe/PL180Mci.c +++ b/ArmPlatformPkg/Drivers/PL180MciDxe/PL180Mci.c @@ -534,6 +534,8 @@ PL180MciDxeInitialize ( MmioRead8 (MCI_PCELL_ID_REG2) != MCI_PCELL_ID2 ||
MmioRead8 (MCI_PCELL_ID_REG3) != MCI_PCELL_ID3) {
+ DEBUG ((EFI_D_WARN, "Probing ID registers at 0x%lx for a PL180"
+ " failed\n", MCI_PERIPH_ID_REG0));
return EFI_NOT_FOUND;
}
|