/* Note: This function is derived from "ArmVirtPkg/PlatformHasAcpiDtDxe", by dropping the word size check, and the fw_cfg check. */
STATIC EFI_STATUS PlatformHasAcpiDt(IN EFI_HANDLE ImageHandle)
/* Note: This function is derived from "ArmVirtPkg/PlatformHasAcpiDtDxe", by dropping the word size check, and the fw_cfg check. */
STATIC EFI_STATUS PlatformHasAcpiDt(IN EFI_HANDLE ImageHandle)
{
  if (!PcdGetBool (PcdForceNoAcpi)) {
    return gBS->InstallProtocolInterface (
                  &ImageHandle,
                  &gEdkiiPlatformHasAcpiGuid,
                  EFI_NATIVE_INTERFACE,
                  NULL
                  );
  }
  return gBS->InstallProtocolInterface (
                &ImageHandle,
                &gEdkiiPlatformHasDeviceTreeGuid,
                EFI_NATIVE_INTERFACE,
                NULL
                );
}