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.

Signed-off-by: Naresh Solanki <[email protected]>
---

 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 483cf702cb..1fb995098d 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.42.0

Reply via email to