/* The function determines whether or not all of the requirements for the Opal Feature (not full specification) are met by the specified device. */
BOOLEAN EFIAPI OpalFeatureSupported(OPAL_DISK_SUPPORT_ATTRIBUTE *SupportedAttributes)
/* The function determines whether or not all of the requirements for the Opal Feature (not full specification) are met by the specified device. */
BOOLEAN EFIAPI OpalFeatureSupported(OPAL_DISK_SUPPORT_ATTRIBUTE *SupportedAttributes)
{
  NULL_CHECK (SupportedAttributes);
  if (SupportedAttributes->Sp1 == 0) {
    return FALSE;
  }
  if ((SupportedAttributes->OpalSscLite == 0) &&
      (SupportedAttributes->OpalSsc1 == 0) &&
      (SupportedAttributes->OpalSsc2 == 0) &&
      (SupportedAttributes->PyriteSsc == 0) &&
      (SupportedAttributes->PyriteSscV2 == 0)
      )
  {
    return FALSE;
  }
  return TRUE;
}