u-boot/drivers/nvme/Kconfig
Simon Glass 7f8967c2b8 blk: Rename HAVE_BLOCK_DEVICE
This option is fact really related to SPL. For U-Boot proper we always use
driver model for block devices, so CONFIG_BLK is enabled if block devices
are in use.

It is only for SPL that we have two cases:

- SPL_BLK is enabled, in which case we use driver model and blk-uclass.c
- SPL_BLK is not enabled, in which case (if we need block devices) we must
  use blk_legacy.c

Rename the symbol to SPL_LEGACY_BLOCK to make this clear. This is
different enough from BLK and SPL_BLK that there should be no confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-09-16 11:05:16 -04:00

29 lines
814 B
Text

# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
config NVME
bool "NVM Express device support"
select SPL_LEGACY_BLOCK
help
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
select NVME
help
This option enables support for NVM Express PCI
devices.