summaryrefslogtreecommitdiff
path: root/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library
diff options
context:
space:
mode:
authorPierre Gondois <Pierre.Gondois@arm.com>2022-01-28 16:17:03 +0300
committerArd Biesheuvel <ardb@kernel.org>2022-01-28 17:06:15 +0300
commit1bbfeb030a553f32a78a136662afad515a895aeb (patch)
treed0dd3baebc6cc18c532bcc202ec38993c00f8974 /Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library
parentb9d6ddebe1a97e9122fb82854eb602a0749e5897 (diff)
downloadedk2-platforms-1bbfeb030a553f32a78a136662afad515a895aeb.tar.xz
Platform/ARM: Add BootDiscoveryPolicy
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. For the edk2 repository, commit cae735f61328 ("ArmPkg: Enable boot discovery policy for ARM package.") adds a mechanism to check for the boot discovery policy. When the following are available: - gEfiBootManagerPolicyProtocolGuid protocol - BOOT_DISCOVERY_POLICY_VAR variable this allows to choose whether devices need to be connected during boot. During boot on ARM platforms, all devices are connected if there are no valid boot options. If the UEFI shell is added as a valid boot option, some devices won't be connected. The BootDiscoveryPolicy will allow to manually configure this. For all ARM platforms, add: - BootManagerPolicyDxe module to Bds phase - BootDiscoveryPolicyUiLib to UiApp module - PcdBootDiscoveryPolicy Pcd Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library')
0 files changed, 0 insertions, 0 deletions