]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Add authenticated variable store support
authorChen, Lin Z <lin.z.chen@intel.com>
Thu, 4 Nov 2021 11:28:53 +0000 (19:28 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 11 Nov 2021 08:12:19 +0000 (08:12 +0000)
commit22c3b5a865ec800b7eecf43de336ad5e2d917a08
tree056f802f337499068e1b67393f9187d1c1a29812
parent8c8867c5da8e059ab98a6108f8182700f298c6f5
BaseTools: Add authenticated variable store support

In order to support secure boot with authenticated type variable store
and non secure boot with normal type variable store, add one flag to
switch them.

User can append '-D VPD_AUTHENTICATED_VARIABLE_STORE' to build command
to enable authenticated type varaible store.

Also, user can add 'VPD_AUTHENTICATED_VARIABLE_STORE = TRUE/FALSE' to the
defines section of Dsc file to switch authenticated/normal type variable
store.

VPD_AUTHENTICATED_VARIABLE_STORE is a new reserved key word for this function.

Signed-off-by: Chen Lin Z <lin.z.chen@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/GenVar.py
BaseTools/Source/Python/Common/DataType.py
BaseTools/Source/Python/Workspace/DscBuildData.py