zephyr/drivers/disk/Kconfig.mmc
Daniel DeGrasse 07a8e3253a drivers: disk: mmc_subsys: remove CONFIG_MMC_VOLUME_NAME
Remove CONFIG_MMC_VOLUME_NAME, and set the disk name based on the
``disk-name`` property. This aligns with other disk drivers, and allows
for multiple instances of the mmc_subsys disk driver to be registered.

Add disk-name properties for all in tree definitions for the
mmc-subsys disk driver, and change all in tree usage of the disk name

Fixes #75004

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-05 15:25:10 -06:00

32 lines
601 B
Plaintext

# Copyright 2023 NXP
# SPDX-License-Identifier: Apache-2.0
config DISK_DRIVER_MMC
bool "MMC card driver"
depends on DT_HAS_ZEPHYR_MMC_DISK_ENABLED
default y
help
MMC card driver.
if DISK_DRIVER_MMC
config SD_INIT_PRIORITY
int "Init priority"
default 90
help
MMC controller driver initialization priority.
config MMC_SUBSYS
bool "MMC access via SD subsystem"
select MMC_STACK
default y
depends on DT_HAS_ZEPHYR_MMC_DISK_ENABLED
help
Enable MMC access via SD subsystem.
module = MMC
module-str = mmc
source "subsys/logging/Kconfig.template.log_config"
endif # DISK_DRIVER_MMC