[PATCH v2 0/2] SPL EBBR - EFI System Partition support

Mayuresh Chitale
2024-01-16T12:37:01Z

This series adds support to locate an EFI System Partition on a disk and
boot the next stage from such a parition if found. The next stage image
is expected to be under the FIRMWARE directory as described in the EBBR
specification [1]. Also update the spl_blk_fs and spl_fat drivers to
prefer booting from ESP and fall back to the configured parition in
case of a failure.

Changes in v2:
- Rebase on latest next branch
- Enable SPL_ESP_BOOT by default
- For NVMe boot, remove fallback in case of ESP boot failure

Mayuresh Chitale (2):
part: Add a function to find ESP partition
spl: Add support for booting from ESP

common/spl/Kconfig | 8 +++++++
common/spl/spl_blk_fs.c | 51 ++++++++++++++++++++++++++++++-----------
common/spl/spl_fat.c | 34 +++++++++++++++++++++++----
disk/part.c | 16 +++++++++++++
include/part.h | 11 +++++++++
5 files changed, 102 insertions(+), 18 deletions(-)

--
2.34.1