]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
x86: spl: Add support for NVMe boot device
authorNaresh Solanki <naresh.solanki@9elements.com>
Wed, 12 Mar 2025 09:01:15 +0000 (14:31 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 9 May 2025 18:57:09 +0000 (12:57 -0600)
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 <naresh.solanki@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/spl.h

index 483cf702cbb41dcf1acd641e0260858877e9ab0f..1fb995098d01e63c77e8da2b4e6a73c558c20d66 100644 (file)
@@ -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);