From 63ba6443c9553c05b0c44de422ac8a8ec200346a Mon Sep 17 00:00:00 2001 From: 20000419 <56302537+20000419@users.noreply.github.com> Date: Mon, 25 May 2026 08:52:57 +0800 Subject: [PATCH] OvmfPkg/LoongArchVirt: stop unconditional physical presence in SB --- OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc index 3dc3bbdae7f8..0d5626838a99 100644 --- a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc +++ b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc @@ -151,12 +151,12 @@ CustomizedDisplayLib | MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf DebugPrintErrorLevelLib | MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf TpmMeasurementLib | MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf -!if $(SECURE_BOOT_ENABLE) == TRUE - PlatformSecureLib | OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf - AuthVariableLib | SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf - SecureBootVariableLib | SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf - SecureBootVariableProvisionLib | SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf - PlatformPKProtectionLib | SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf +!if $(SECURE_BOOT_ENABLE) == TRUE + PlatformSecureLib | SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf + AuthVariableLib | SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf + SecureBootVariableLib | SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf + SecureBootVariableProvisionLib | SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf + PlatformPKProtectionLib | SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf !else AuthVariableLib | MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf !endif