[Concept,06/16] part: Add Extended Boot Loader Partition GUID

Message ID 20260421183511.2044469-7-sjg@u-boot.org
State New
Headers
Series efi-x86: Boot Ubuntu live ISOs via U-Boot + BLS, end to end |

Commit Message

Simon Glass April 21, 2026, 6:34 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

The Boot Loader Specification names two partition types as homes for
Type #1 boot entries: the EFI System Partition and the Extended Boot
Loader Partition (XBOOTLDR), whose GPT type GUID is
bc13c2ff-59e6-4262-a352-b275fd6f7172 (from the BLS spec).

U-Boot already defines the ESP GUID but not XBOOTLDR - add it alongside
PARTITION_SYSTEM_GUID so the bootflow layer can recognise it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/part_efi.h | 8 ++++++++
 1 file changed, 8 insertions(+)
  

Patch

diff --git a/include/part_efi.h b/include/part_efi.h
index fb402df6f13..7dac8da32e8 100644
--- a/include/part_efi.h
+++ b/include/part_efi.h
@@ -35,6 +35,14 @@ 
 #define PARTITION_SYSTEM_GUID \
 	EFI_GUID( 0xC12A7328, 0xF81F, 0x11d2, \
 		0xBA, 0x4B, 0x00, 0xA0, 0xC9, 0x3E, 0xC9, 0x3B)
+/*
+ * Extended Boot Loader Partition (XBOOTLDR), defined by the
+ * Boot Loader Specification:
+ * https://uapi-group.org/specifications/specs/boot_loader_specification/
+ */
+#define PARTITION_XBOOTLDR_GUID \
+	EFI_GUID(0xbc13c2ff, 0x59e6, 0x4262, \
+		 0xa3, 0x52, 0xb2, 0x75, 0xfd, 0x6f, 0x71, 0x72)
 #define LEGACY_MBR_PARTITION_GUID \
 	EFI_GUID( 0x024DEE41, 0x33E7, 0x11d3, \
 		0x9D, 0x69, 0x00, 0x08, 0xC7, 0x81, 0xF3, 0x9F)