public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Grzegorz Bernacki" <gjb@semihalf.com>
To: devel@edk2.groups.io
Cc: leif@nuviainc.com, ardb+tianocore@kernel.org,
	Samer.El-Haj-Mahmoud@arm.com, sunny.Wang@arm.com,
	mw@semihalf.com, upstream@semihalf.com, pete@akeo.ie,
	jian.j.wang@intel.com, hao.a.wu@intel.com, dandan.bi@intel.com,
	eric.dong@intel.com, Grzegorz Bernacki <gjb@semihalf.com>
Subject: [PATCH v2 0/2] Add BootDiscoveryPolicyUiLib
Date: Tue,  6 Jul 2021 12:44:29 +0200	[thread overview]
Message-ID: <20210706104432.1239133-1-gjb@semihalf.com> (raw)

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

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

 MdeModulePkg/MdeModulePkg.dec                                                     |   6 +
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.inf        |  52 +++++++
 MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h                                   |  22 +++
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.c          | 160 ++++++++++++++++++++
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.uni        |  16 ++
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibStrings.uni |  29 ++++
 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibVfr.Vfr     |  44 ++++++
 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               | 101 +++++++++++++++++---
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.uni                        |  10 +-
 18 files changed, 435 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


             reply	other threads:[~2021-07-06 10:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06 10:44 Grzegorz Bernacki [this message]
2021-07-06 10:44 ` [PATCH v2 1/1] MdeModulePkg: Add BootDiscoveryPolicyUiLib Grzegorz Bernacki
2021-07-08  8:08   ` [edk2-devel] " Gao, Zhichao
2021-07-09  9:55     ` Grzegorz Bernacki
2021-07-21  5:14       ` Gao, Zhichao
2021-07-21  7:27         ` Sunny Wang
2021-07-06 10:44 ` [edk2-platforms PATCH v2 1/2] Platform/RaspberryPi: Enable Boot Discovery Policy Grzegorz Bernacki
2021-07-08  8:15   ` [edk2-devel] " Gao, Zhichao
2021-07-09  9:47     ` Grzegorz Bernacki
2021-07-06 10:44 ` [edk2-platforms PATCH v2 2/2] Revert "Platform/RaspberryPi: Setup option for disabling Fast Boot" Grzegorz Bernacki
2021-07-08 18:36   ` Samer El-Haj-Mahmoud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210706104432.1239133-1-gjb@semihalf.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox