public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms PATCH v5 0/2] Add BootDiscoveryPolicyUiLib
@ 2021-08-02 12:18 Grzegorz Bernacki
  2021-08-02 12:18 ` [PATCH v5 1/1] MdeModulePkg: " Grzegorz Bernacki
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Grzegorz Bernacki @ 2021-08-02 12:18 UTC (permalink / raw)
  To: devel
  Cc: leif, ardb+tianocore, Samer.El-Haj-Mahmoud, sunny.Wang, mw,
	upstream, pete, jian.j.wang, hao.a.wu, dandan.bi, eric.dong,
	Grzegorz Bernacki

This patchset extends Boot Maintenance Menu and allows to select
Boot Discovery Policy. Raspberry Pi platforms uses the variable to
connect specified class of devices on boot. This patchset also
removes efdc159e which has similar functionality.

Discussion on design can be found at:
https://edk2.groups.io/g/rfc/topic/rfc_boot_discovery_policy/82450628

Changes since v1:
- make 'Connect All' (0x2) default value for PcdBootDiscoveryPolicy
- initialize BootDiscoveryPolicy variable in platform code, if not found

Changes since v2:
- add missing local variable initialization

Changes since v3:
- add description to PcdBootDiscoveryPolicy

Changes since v4:
- fixed coding style
- add module to MdeModulePkg.dsc

Grzegorz Bernacki (3):
edk2:
  MdeModulePkg: Add BootDiscoveryPolicyUiLib.
edk2-platform
  Platform/RaspberryPi: Enable Boot Discovery Policy.
  Revert "Platform/RaspberryPi: Setup option for disabling Fast Boot"

 Platform/RaspberryPi/RaspberryPi.dec                                           |   2 -
 Platform/RaspberryPi/RPi3/RPi3.dsc                                             |   9 +-
 Platform/RaspberryPi/RPi4/RPi4.dsc                                             |  12 +--
 Platform/RaspberryPi/RPi4/RPi4.fdf                                             |   1 +
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf                           |   3 +-
 Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf |   6 +-
 Platform/RaspberryPi/Include/ConfigVars.h                                      |  12 +--
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr                        |  16 +--
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c                             |  11 +--
 Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c               | 102 +++++++++++++++++---
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.uni                        |  10 +-
 MdeModulePkg/MdeModulePkg.dec                                                     |   9 ++
 MdeModulePkg/MdeModulePkg.dsc                                                     |   2 +
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.inf        |  52 +++++++
 MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h                                   |  22 +++
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.c          | 160 ++++++++++++++++++++
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.uni        |  18 +++
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibStrings.uni |  29 ++++
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibVfr.Vfr     |  44 ++++++
 19 files changed, 443 insertions(+), 77 deletions(-)
 create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.inf
 create mode 100644 MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h
 create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.c
 create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.uni
 create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibStrings.uni
 create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibVfr.Vfr

-- 
2.25.1


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

end of thread, other threads:[~2021-08-03 16:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-02 12:18 [edk2-platforms PATCH v5 0/2] Add BootDiscoveryPolicyUiLib Grzegorz Bernacki
2021-08-02 12:18 ` [PATCH v5 1/1] MdeModulePkg: " Grzegorz Bernacki
2021-08-03  0:01   ` [edk2-devel] " Wu, Hao A
2021-08-03  2:24     ` Gao, Zhichao
2021-08-03  3:02       ` Sunny Wang
2021-08-03  5:11         ` Wu, Hao A
2021-08-03  6:24           ` Grzegorz Bernacki
2021-08-02 12:18 ` [edk2-platforms PATCH v5 1/2] Platform/RaspberryPi: Enable Boot Discovery Policy Grzegorz Bernacki
2021-08-03 13:00   ` Samer El-Haj-Mahmoud
2021-08-03 13:03     ` Ard Biesheuvel
2021-08-03 13:08       ` Pete Batard
2021-08-03 13:10         ` Ard Biesheuvel
2021-08-03 16:42           ` Ard Biesheuvel
2021-08-02 12:18 ` [edk2-platforms PATCH v5 2/2] Revert "Platform/RaspberryPi: Setup option for disabling Fast Boot" Grzegorz Bernacki
2021-08-03  5:33 ` [edk2-platforms PATCH v5 0/2] Add BootDiscoveryPolicyUiLib Ard Biesheuvel

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