From: Mayuresh Chitale <mchitale@ventanamicro.com>
To: Bin Meng <bmeng.cn@gmail.com>, Simon Glass <sjg@chromium.org>
Cc: Mayuresh Chitale <mchitale@ventanamicro.com>,
u-boot@lists.denx.de, Heinrich Schuchardt <xypron.glpk@gmx.de>,
Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>
Subject: [RFC PATCH v1 1/3] spl: Add Kconfig options for NVME
Date: Thu, 29 Sep 2022 15:26:37 +0530 [thread overview]
Message-ID: <20220929095639.355675-2-mchitale@ventanamicro.com> (raw)
In-Reply-To: <20220929095639.355675-1-mchitale@ventanamicro.com>
This patch adds options to enable PCI NVMe support in SPL
Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
---
common/spl/Kconfig | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 70d97815f0..2bc97421f9 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1218,6 +1218,31 @@ config SPL_SATA
expense and power consumption. This enables loading from SATA
using a configured device.
+config SPL_NVME
+ bool "NVM Express device support"
+ depends on BLK
+ select HAVE_BLOCK_DEVICE
+ help
+ This option enables support for NVM Express devices.
+ It supports basic functions of NVMe (read/write).
+
+config SPL_NVME_PCI
+ bool "NVM Express PCI device support for SPL"
+ depends on SPL_PCI && SPL_NVME
+ help
+ This option enables support for NVM Express PCI devices.
+ This allows use of NVMe devices for loading u-boot.
+
+config SPL_NVME_BOOT_DEVICE
+ hex "NVMe boot device number"
+ depends on SPL_NVME
+ default 0x0
+
+config SYS_NVME_FAT_BOOT_PARTITION
+ hex "NVMe boot partition number"
+ depends on SPL_NVME
+ default 0x1
+
config SPL_SATA_RAW_U_BOOT_USE_SECTOR
bool "SATA raw mode: by sector"
depends on SPL_SATA
--
2.25.1
next prev parent reply other threads:[~2022-09-29 11:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-29 9:56 [RFC PATCH v1 0/3] SPL NVMe support Mayuresh Chitale
2022-09-29 9:56 ` Mayuresh Chitale [this message]
2022-09-29 23:55 ` [RFC PATCH v1 1/3] spl: Add Kconfig options for NVME Simon Glass
2022-09-29 9:56 ` [RFC PATCH v1 2/3] nvme: pci: Enable for SPL Mayuresh Chitale
2022-09-29 23:55 ` Simon Glass
2022-09-30 16:58 ` Mayuresh Chitale
2022-09-30 23:49 ` Simon Glass
2022-09-29 9:56 ` [RFC PATCH v1 3/3] common: spl: Add spl NVMe boot support Mayuresh Chitale
2022-09-29 23:55 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220929095639.355675-2-mchitale@ventanamicro.com \
--to=mchitale@ventanamicro.com \
--cc=bmeng.cn@gmail.com \
--cc=rick@andestech.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
--cc=ycliang@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox