diff options
author | Naresh Solanki <naresh.solanki@9elements.com> | 2025-03-12 14:31:15 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-05-09 12:57:09 -0600 |
commit | c73acdb392a581ea489001f8da09c43c730b7b98 (patch) | |
tree | 1343663d197553766dd3eabb2ef32a5b256db2f4 /arch/x86/include | |
parent | c5f57de37c74b96514723f92cbb656d26fb3385c (diff) |
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 <naresh.solanki@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/spl.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |