]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/Tcg2Config: Remove use of IoLib
authorMichael Kinney <michael.d.kinney@intel.com>
Thu, 21 Jan 2016 19:29:50 +0000 (19:29 +0000)
committermdkinney <mdkinney@Edk2>
Thu, 21 Jan 2016 19:29:50 +0000 (19:29 +0000)
commit6d2eec02876c251f9217a58f0e7f15a354412b1d
treebe316ca6a3e0562e62b8336845aea4c29d5a1e48
parentcc71e26372bfcfa347fb835bdd63a82d5e22af63
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
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
SecurityPkg/Tcg/Tcg2Config/TpmDetection.c