diff options
author | Zhang, Chao B <chao.b.zhang@intel.com> | 2016-05-04 10:32:09 +0800 |
---|---|---|
committer | Zhang, Chao B <chao.b.zhang@intel.com> | 2016-05-05 09:21:39 +0800 |
commit | e8903bb7bf3f975ce8d1986bdbbaaf05c29c0e2b (patch) | |
tree | afac38248aa6a57689e5621870f4527168a86a23 /SecurityPkg/VariableAuthenticated | |
parent | 60de3c19a7f875e4f9a012d275e8bb5ce4efb31d (diff) | |
download | edk2-platforms-e8903bb7bf3f975ce8d1986bdbbaaf05c29c0e2b.tar.xz |
SecurityPkg: SecureBootConfigDxe: Disable SecureBoot Enable/Disable in some case
Disable SecureBoot Enable/Disable feature when PhysicalPresence is not available,
Since SecureBootEnable is protected with PhysicalPresence.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'SecurityPkg/VariableAuthenticated')
-rw-r--r-- | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr index fefbfbfd06..02ddf4ad89 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr @@ -41,7 +41,7 @@ formset //
// Display of Check Box: Attempt Secure Boot
//
- grayoutif ideqval SECUREBOOT_CONFIGURATION.HideSecureBoot == 1;
+ grayoutif ideqval SECUREBOOT_CONFIGURATION.HideSecureBoot == 1 OR NOT ideqval SECUREBOOT_CONFIGURATION.PhysicalPresent == 1;
checkbox varid = SECUREBOOT_CONFIGURATION.AttemptSecureBoot,
questionid = KEY_SECURE_BOOT_ENABLE,
prompt = STRING_TOKEN(STR_SECURE_BOOT_PROMPT),
|