SecurityPkg Tcg2Config: Move common definitions to new Tcg2Internal.h

Common definitions are not consumed by VFR. They are not required to be
defined in Tcg2ConfigNvData.h with WA way. New shared internal header
file is added to include those common definitions.

Cc: Jian Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
This commit is contained in:
Liming Gao
2019-09-05 23:08:19 +08:00
parent d8c4b87ec4
commit 26fc074a5f
7 changed files with 33 additions and 35 deletions

View File

@@ -20,6 +20,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include <IndustryStandard/Tpm12.h>
#include "Tcg2ConfigNvData.h"
#include "Tcg2Internal.h"
/**
This routine check both SetupVariable and real TPM device, and return final TpmDevice configuration.