/* Determine if we're in capsule update boot mode. */
EFI_STATUS EFIAPI CheckCapsuleUpdate(IN EFI_PEI_SERVICES **PeiServices)
/* Determine if we're in capsule update boot mode. */
EFI_STATUS EFIAPI CheckCapsuleUpdate(IN EFI_PEI_SERVICES **PeiServices)
{
  if (AreCapsulesStaged ()) {
    return EFI_SUCCESS;
  } else {
    return EFI_NOT_FOUND;
  }
}