aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvme/Makefile
diff options
context:
space:
mode:
authorMark Kettenis2022-01-22 20:38:18 +0100
committerTom Rini2022-02-10 16:44:23 -0500
commit50333c94f2de161cdfda2ef1c9845c3a28e7a5d6 (patch)
tree3003d02c0aad4f9ec1a487565fdc5e8b597c5501 /drivers/nvme/Makefile
parent81fafbbeba3211ed60ac8aff41a2e1fcb9a40431 (diff)
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/Makefile')
-rw-r--r--drivers/nvme/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/Makefile b/drivers/nvme/Makefile
index fad9724e17b..fa7b6194460 100644
--- a/drivers/nvme/Makefile
+++ b/drivers/nvme/Makefile
@@ -3,4 +3,5 @@
# Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
obj-y += nvme-uclass.o nvme.o nvme_show.o
+obj-$(CONFIG_NVME_APPLE) += nvme_apple.o
obj-$(CONFIG_NVME_PCI) += nvme_pci.o