diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2022-01-22 20:38:11 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-10 16:44:23 -0500 |
commit | 045474be5ebca9d4491572c134a8288b19f5e14a (patch) | |
tree | 4e791bdf64e63339bf5cb15c2d0559b74a89daf8 /drivers/nvme/Kconfig | |
parent | c4408291bfff9622f2d3817a13c997debd0e8200 (diff) |
nvme: Split out PCI support
Apple SoCs have an integrated NVMe controller that isn't connected
over a PCIe bus. In preparation for adding support for this NVMe
controller, split out the PCI support into its own file. This file
is selected through a new CONFIG_NVME_PCI Kconfig option, so do
a wholesale replacement of CONFIG_NVME with CONFIG_NVME_PCI.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested on: Macbook Air M1
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/nvme/Kconfig')
-rw-r--r-- | drivers/nvme/Kconfig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/nvme/Kconfig b/drivers/nvme/Kconfig index 1f6d1f56484..78da444c8b4 100644 --- a/drivers/nvme/Kconfig +++ b/drivers/nvme/Kconfig @@ -4,8 +4,16 @@ config NVME bool "NVM Express device support" - depends on BLK && PCI + 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 NVME_PCI + bool "NVM Express PCI device support" + depends on PCI + select NVME + help + This option enables support for NVM Express PCI + devices. |