Skip to contentSkip to conversation

x86: spl: Add support for NVMe boot device

PATCH In review Naresh Solanki 3 participants 3 messages Mar 12, 2025 – May 9, 2025 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: spl: Add support for NVMe boot device

This change adds BOOT_DEVICE_NVME to the enum list in arch/x86/include/asm/spl.h,
enabling NVMe as a recognized boot device for SPL (Secondary Program Loader).

Tested x86 hardware with Coreboot + uboot payload. Verified successful boot to NVMe drive.

---

 arch/x86/include/asm/spl.h | 1 +
 1 file changed, 1 insertion(+)
arch/x86/include/asm/spl.h +1 -0
index 483cf702cb..1fb995098d 100644
@@ -11,6 +11,7 @@ enum {
 	BOOT_DEVICE_SPI_MMAP	= 10,
 	BOOT_DEVICE_FAST_SPI,
 	BOOT_DEVICE_CROS_VBOOT,
+	BOOT_DEVICE_NVME,
 };
 
 void jump_to_spl(ulong entry);
Signature · 1 line
2.42.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Naresh Solanki

This change adds BOOT_DEVICE_NVME to the enum list in arch/x86/include/asm/spl.h,
enabling NVMe as a recognized boot device for SPL (Secondary Program Loader).

Tested x86 hardware with Coreboot + uboot payload.

I believe the correct names are:

coreboot
U-Boot

Quoted 7 lines

Verified successful boot to NVMe drive.

---

 arch/x86/include/asm/spl.h | 1 +
 1 file changed, 1 insertion(+)
#2 lore raw
In reply to Naresh Solanki
Quoted 9 lines · Naresh Solanki

This change adds BOOT_DEVICE_NVME to the enum list in arch/x86/include/asm/spl.h,
enabling NVMe as a recognized boot device for SPL (Secondary Program Loader).

Tested x86 hardware with Coreboot + uboot payload. Verified successful boot to NVMe drive.

[...]

Applied to u-boot/master, thanks!

[1/1] x86: spl: Add support for NVMe boot device

      commit: c73acdb392a581ea489001f8da09c43c730b7b98
Signature · 1 line
Tom