summaryrefslogtreecommitdiff
path: root/drivers/nvme/Kconfig
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2022-01-22 22:38:18 +0300
committerTom Rini <trini@konsulko.com>2022-02-11 00:44:23 +0300
commit50333c94f2de161cdfda2ef1c9845c3a28e7a5d6 (patch)
tree3003d02c0aad4f9ec1a487565fdc5e8b597c5501 /drivers/nvme/Kconfig
parent81fafbbeba3211ed60ac8aff41a2e1fcb9a40431 (diff)
downloadu-boot-50333c94f2de161cdfda2ef1c9845c3a28e7a5d6.tar.xz
nvme: apple: Add driver for Apple NVMe storage controller
Add a driver for the NVMe storage controller integrated on Apple SoCs. This NVMe controller isn't PCI based and deviates from the NVMe standard in its implementation of the command submission queue and the integration of an NVMMU that needs to be managed. This commit tweaks the core NVMe code to support the linear command submission queue implemented by this controller. But setting up the submission queue and managing the NVMMU controller is handled by implementing the driver ops that were added in an earlier commit. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Tested-on: firefly-rk3399 Tested-by: Mark Kettenis <kettenis@openbsd.org> Tested on: Macbook Air M1 Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/nvme/Kconfig')
-rw-r--r--drivers/nvme/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/nvme/Kconfig b/drivers/nvme/Kconfig
index 78da444c8b..0cb465160b 100644
--- a/drivers/nvme/Kconfig
+++ b/drivers/nvme/Kconfig
@@ -10,6 +10,17 @@ config NVME
This option enables support for NVM Express devices.
It supports basic functions of NVMe (read/write).
+config NVME_APPLE
+ bool "Apple NVMe controller support"
+ select NVME
+ help
+ This option enables support for the NVMe storage
+ controller integrated on Apple SoCs. This controller
+ isn't PCI-based based and deviates from the NVMe
+ standard implementation in its implementation of
+ the command submission queue and the integration
+ of an NVMMU that needs to be managed.
+
config NVME_PCI
bool "NVM Express PCI device support"
depends on PCI