]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c
SecurityPkg/TcgConfigDxe: Allow enabling TPM 1.2 device from disabled state.
authorGonzalez Del Cueto, Rodrigo <rodrigo.gonzalez.del.cueto@intel.com>
Mon, 4 Feb 2019 06:06:57 +0000 (14:06 +0800)
committerZhang, Chao B <chao.b.zhang@intel.com>
Wed, 20 Feb 2019 13:44:14 +0000 (21:44 +0800)
commitb49758c11280a0dfba981632ed6ed06ed80a30d8
tree009c9b6f11daa1a03a28220e887ee73fcb5d95f8
parent8a64c7ea00a519fc0b8a4708a73ebdd998f8e3ae
SecurityPkg/TcgConfigDxe: Allow enabling TPM 1.2 device from disabled state.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1511

Currently the TCG config setup form defaults the physical presence action to
PHYSICAL_PRESENCE_ENABLE, this prevents the action from being called. When a TPM
1.2 device is in Disabled and Activated state it is not possible to issue the
PHYSICAL_PRESENCE_ENABLE using the menu action.

By having the form default to PHYSICAL_PRESENCE_NO_ACTION, the user is now able
to select PHYSICAL_PRESENCE_ENABLE and toggle the TPM 1.2 device enable state.

Contributed-under: TianoCore Contribution Agreement 1.1

Signed-off-by: Rodrigo Gonzalez del Cueto <rodrigo.gonzalez.del.cueto@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
SecurityPkg/Tcg/TcgConfigDxe/TcgConfig.vfr
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigStrings.uni