Skip to content

Commit 102f4c2

Browse files
danieldegrassedleach02
authored andcommitted
drivers: disk: remove legacy SDMMC SPI driver
remove existing SDMMC SPI driver, since it is replaced by the SPI mode SD host controller driver. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent cb34ae4 commit 102f4c2

File tree

4 files changed

+0
-1033
lines changed

4 files changed

+0
-1033
lines changed

drivers/disk/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ zephyr_library()
88
zephyr_library_sources_ifdef(CONFIG_DISK_DRIVER_FLASH flashdisk.c)
99
zephyr_library_sources_ifdef(CONFIG_DISK_DRIVER_RAM ramdisk.c)
1010

11-
zephyr_library_sources_ifdef(CONFIG_SDMMC_OVER_SPI sdmmc_spi.c)
1211
zephyr_library_sources_ifdef(CONFIG_SDMMC_STM32 sdmmc_stm32.c)
1312
zephyr_library_sources_ifdef(CONFIG_SDMMC_SUBSYS sdmmc_subsys.c)
1413

drivers/disk/Kconfig.sdmmc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Copyright (c) 2021 Nordic Semiconductor ASA
33
# SPDX-License-Identifier: Apache-2.0
44

5-
DT_COMPAT_ZEPHYR_MMC_SPI_SLOT := zephyr,mmc-spi-slot
65
DT_COMPAT_ST_STM32_SDMMC := st,stm32-sdmmc
76
DT_COMPAT_ZEPHYR_MMC := zephyr,sdmmc-disk
87

@@ -26,13 +25,6 @@ config SDMMC_VOLUME_NAME
2625
help
2726
Disk name as per file system naming guidelines.
2827

29-
config SDMMC_OVER_SPI
30-
bool "SDHC access over SPI"
31-
select SPI
32-
default $(dt_compat_enabled,$(DT_COMPAT_ZEPHYR_MMC_SPI_SLOT))
33-
help
34-
File system on a SDHC card accessed over SPI.
35-
3628
config SDMMC_SUBSYS
3729
bool "SDMMC access via SD subsystem"
3830
select SD_STACK

0 commit comments

Comments
 (0)