From c73acdb392a581ea489001f8da09c43c730b7b98 Mon Sep 17 00:00:00 2001 From: Naresh Solanki Date: Wed, 12 Mar 2025 14:31:15 +0530 Subject: [PATCH] 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 + U-Boot payload. Verified successful boot to NVMe drive. Signed-off-by: Naresh Solanki Reviewed-by: Simon Glass --- arch/x86/include/asm/spl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/spl.h b/arch/x86/include/asm/spl.h index 483cf702cbb..1fb995098d0 100644 --- a/arch/x86/include/asm/spl.h +++ b/arch/x86/include/asm/spl.h @@ -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); -- 2.39.5