]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: Enable boot discovery policy for ARM package.
authorGrzegorz Bernacki <gjb@semihalf.com>
Mon, 30 Aug 2021 12:08:05 +0000 (14:08 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 30 Aug 2021 14:23:14 +0000 (14:23 +0000)
commitcae735f61328d64e2e8991036707b9e78c0f5f63
tree5c56e39c640f374b7204b8647806b0fdc6c3cf4c
parent0f11537548e4500f11487c13f24d79c9f6b6499b
ArmPkg: Enable boot discovery policy for ARM package.

This commit adds code which check BootDiscoveryPolicy variable and
calls Boot Policy Manager Protocol to connect device specified by
the variable. To enable that mechanism for platform
EfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPolicy PCD must be
added to DSC file and BootDiscoveryPolicyUiLib should be added to
UiApp libraries.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Reviewed-by: Sunny Wang <sunny.wang@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf