X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPlatformPkg%2FLibrary%2FPL031RealTimeClockLib%2FPL031RealTimeClockLib.c;h=ec3091b9e79a32fd213acae490cc398624d3a718;hp=03361cd73aecfa4a20f478284d69f760f57a3fda;hb=0db25ccc6cf1d05dc6b8fd9b07d033b40c387c88;hpb=986223907fa5e3a2866bbf60bd4a3bd5e2d24172 diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c index 03361cd73a..ec3091b9e7 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c @@ -53,7 +53,7 @@ IdentifyPL031 ( goto EXIT; } - // Check if this PrimeCell Peripheral is the SP805 Watchdog Timer + // Check if this PrimeCell Peripheral is the PL031 Real Time Clock if ( (MmioRead8 (PL031_RTC_PERIPH_ID0) != 0x31) || (MmioRead8 (PL031_RTC_PERIPH_ID1) != 0x10) || ((MmioRead8 (PL031_RTC_PERIPH_ID2) & 0xF) != 0x04)