public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms 1/1] Platform/Socionext/DeveloperBoxMm: add VarCheckPolicyLib
@ 2021-01-04  7:34 Masahisa Kojima
  2021-01-04 17:04 ` Ard Biesheuvel
  0 siblings, 1 reply; 2+ messages in thread
From: Masahisa Kojima @ 2021-01-04  7:34 UTC (permalink / raw)
  To: devel; +Cc: ard.biesheuvel, leif

Add VarCheckPolicyLib in standalone MM context to initialize
VariablePolicyLib.
Without this modification, Developerbox fails to boot when
the uefi secure boot is enabled.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
---
 Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc b/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
index 00f6d4496377..92625df1ff09 100644
--- a/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
+++ b/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
@@ -89,4 +89,5 @@ [Components.common]
       DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
       VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
       NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
+      NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibStandaloneMm.inf
   }
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH edk2-platforms 1/1] Platform/Socionext/DeveloperBoxMm: add VarCheckPolicyLib
  2021-01-04  7:34 [PATCH edk2-platforms 1/1] Platform/Socionext/DeveloperBoxMm: add VarCheckPolicyLib Masahisa Kojima
@ 2021-01-04 17:04 ` Ard Biesheuvel
  0 siblings, 0 replies; 2+ messages in thread
From: Ard Biesheuvel @ 2021-01-04 17:04 UTC (permalink / raw)
  To: Masahisa Kojima, devel; +Cc: leif

On 1/4/21 8:34 AM, Masahisa Kojima wrote:
> Add VarCheckPolicyLib in standalone MM context to initialize
> VariablePolicyLib.
> Without this modification, Developerbox fails to boot when
> the uefi secure boot is enabled.
> 
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
> ---
>  Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc b/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
> index 00f6d4496377..92625df1ff09 100644
> --- a/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
> +++ b/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
> @@ -89,4 +89,5 @@ [Components.common]
>        DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
>        VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
>        NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
> +      NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibStandaloneMm.inf
>    }
> 

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>

Pushed as 374851cb1ad1..eec4526f3bc2

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-04 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-04  7:34 [PATCH edk2-platforms 1/1] Platform/Socionext/DeveloperBoxMm: add VarCheckPolicyLib Masahisa Kojima
2021-01-04 17:04 ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox