diff options
author | Michael Kinney <michael.d.kinney@intel.com> | 2016-01-21 19:29:50 +0000 |
---|---|---|
committer | mdkinney <mdkinney@Edk2> | 2016-01-21 19:29:50 +0000 |
commit | 6d2eec02876c251f9217a58f0e7f15a354412b1d (patch) | |
tree | be316ca6a3e0562e62b8336845aea4c29d5a1e48 /SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf | |
parent | cc71e26372bfcfa347fb835bdd63a82d5e22af63 (diff) | |
download | edk2-platforms-6d2eec02876c251f9217a58f0e7f15a354412b1d.tar.xz |
SecurityPkg/Tcg2Config: Remove use of IoLib
Remove the use of the IoLib and Mmioxx() calls to detect dTPM.
This module calls the Tpm12DeviceLib to detect a TPM and the
implementation of the Tpm12DeviceLib for dTPM performs the same
Mmioxx() calls to detect a dTPM. This change makes this module
more generic and portable by maximizing the use of the Tpm12DeviceLib
abstraction for TPM detection.
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19725 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf')
-rw-r--r-- | SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf index cd6a92da1c..8dd0b63e48 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf @@ -4,7 +4,7 @@ # This module initializes TPM device type based on variable and detection.
# NOTE: This module is only for reference only, each platform should have its own setup page.
#
-# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -49,7 +49,6 @@ DebugLib
PcdLib
TimerLib
- IoLib
Tpm12CommandLib
Tpm12DeviceLib
|