mirror of https://github.com/acidanthera/audk.git
SecurityPkg Tcg2Dxe: Add Variable Arch protocol dependency
commit a7e2d20193
introduces the code to
get PcdTpm2AcpiTableRev in the driver entry point. This PCD is designed as
DynamicHii or DynamicHiiEx PCD. So, this PCD depends on Variable service.
To make sure PcdTpm2AcpiTableRev value be got, add Variable service as Depex.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J 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: jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
b1c6e9f55e
commit
e026bb4c39
|
@ -107,7 +107,11 @@
|
|||
gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableLasa ## PRODUCES
|
||||
|
||||
[Depex]
|
||||
TRUE
|
||||
# According to PcdTpm2AcpiTableRev definition in SecurityPkg.dec
|
||||
# This PCD should be configured at DynamicHii or DynamicHiiEx.
|
||||
# So, this PCD read operation depends on GetVariable service.
|
||||
# Add VariableArch protocol dependency to make sure PCD read works.
|
||||
gEfiVariableArchProtocolGuid
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
Tcg2DxeExtra.uni
|
||||
|
|
Loading…
Reference in New Issue