summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Tcg/Tcg2Config/Tpm12SupportNull.c
blob: 7bb377b9b9b0bdc8040ecacde5f452bac339c978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/** @file
  Null implementation of InternalTpm12Detect(), always returning
  EFI_UNSUPPORTED.

  Copyright (C) 2020, Red Hat, Inc.

  SPDX-License-Identifier: BSD-2-Clause-Patent
**/

#include "Tpm12Support.h"

/**
  Detect the presence of a TPM with interface version 1.2.

  @retval EFI_UNSUPPORTED  The platform that includes this particular
                           implementation of the function does not support
                           TPM-1.2.
**/
EFI_STATUS
InternalTpm12Detect (
  VOID
  )
{
  return EFI_UNSUPPORTED;
}