\r
DEBUG ((EFI_D_INFO, "Found PL031 RTC @ 0x%Lx\n", RegBase));\r
\r
- if (!FeaturePcdGet (PcdPureAcpiBoot)) {\r
- //\r
- // UEFI takes ownership of the RTC hardware, and exposes its functionality\r
- // through the UEFI Runtime Services GetTime, SetTime, etc. This means we\r
- // need to disable it in the device tree to prevent the OS from attaching\r
- // its device driver as well.\r
- //\r
- Status = FdtClient->SetNodeProperty (FdtClient, Node, "status",\r
- "disabled", sizeof ("disabled"));\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_WARN, "Failed to set PL031 status to 'disabled'\n"));\r
- }\r
+ //\r
+ // UEFI takes ownership of the RTC hardware, and exposes its functionality\r
+ // through the UEFI Runtime Services GetTime, SetTime, etc. This means we\r
+ // need to disable it in the device tree to prevent the OS from attaching\r
+ // its device driver as well.\r
+ //\r
+ Status = FdtClient->SetNodeProperty (FdtClient, Node, "status",\r
+ "disabled", sizeof ("disabled"));\r
+ if (EFI_ERROR (Status)) {\r
+ DEBUG ((EFI_D_WARN, "Failed to set PL031 status to 'disabled'\n"));\r
}\r
\r
return EFI_SUCCESS;\r