[PATCH v3 0/5] SPL NVMe support

Mayuresh Chitale mchitale at ventanamicro.com
Thu May 4 11:53:22 CEST 2023


This patchset adds support to load images of the SPL's next booting stage from a NVMe device.

Changes in v3:
- Add generic API to fetch payload from Ext or FAT filesystems
- Remove reduntant SPL_PCI_PNP config check

Changes in v2:
- Rebase on v2023.07-rc1
- Use uclass ID for blk APIs
- Add support to load FIT images from ext filesystem

Mayuresh Chitale (5):
  spl: Add Kconfig options for NVME
  spl: blk: Support loading images from fs
  nvme: pci: Enable for SPL
  spl: Support loading a FIT from ext FS
  common: spl: Add spl NVMe boot support

 arch/riscv/include/asm/spl.h |  1 +
 common/spl/Kconfig           | 31 +++++++++++++++++++++
 common/spl/Makefile          |  2 ++
 common/spl/spl_blk_fs.c      | 54 ++++++++++++++++++++++++++++++++++++
 common/spl/spl_ext.c         | 33 ++++++++++++++++++++++
 common/spl/spl_nvme.c        | 34 +++++++++++++++++++++++
 drivers/Makefile             |  1 +
 drivers/block/Kconfig        |  7 +++++
 drivers/nvme/Makefile        |  2 +-
 drivers/pci/Kconfig          |  7 +++++
 include/spl.h                |  3 ++
 11 files changed, 174 insertions(+), 1 deletion(-)
 create mode 100644 common/spl/spl_blk_fs.c
 create mode 100644 common/spl/spl_nvme.c

-- 
2.34.1



More information about the U-Boot mailing list