Skip to content

Commit 409cc23

Browse files
danieldegrassedleach02
authored andcommitted
drivers: disk: remove legacy nxp USDHC driver
all in tree SOCs with the USDHC peripheral have now been converted to use the new SD host controller USDHC driver, so remove legacy NXP disk USDHC driver. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 2fbfed9 commit 409cc23

File tree

6 files changed

+1
-3139
lines changed

6 files changed

+1
-3139
lines changed

drivers/disk/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ zephyr_library_sources_ifdef(CONFIG_DISK_DRIVER_RAM ramdisk.c)
1010

1111
zephyr_library_sources_ifdef(CONFIG_SDMMC_OVER_SPI sdmmc_spi.c)
1212
zephyr_library_sources_ifdef(CONFIG_SDMMC_STM32 sdmmc_stm32.c)
13-
zephyr_library_sources_ifdef(CONFIG_SDMMC_USDHC usdhc.c)
1413
zephyr_library_sources_ifdef(CONFIG_SDMMC_SUBSYS sdmmc_subsys.c)
1514

1615
endif()

drivers/disk/Kconfig.sdmmc

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
DT_COMPAT_ZEPHYR_MMC_SPI_SLOT := zephyr,mmc-spi-slot
6-
DT_COMPAT_NXP_USDHC := nxp,imx-usdhc
76
DT_COMPAT_ST_STM32_SDMMC := st,stm32-sdmmc
87
DT_COMPAT_ZEPHYR_MMC := zephyr,sdmmc-disk
98

@@ -42,18 +41,6 @@ config SDMMC_SUBSYS
4241
help
4342
Enable SDMMC access via SD subsystem
4443

45-
config SDMMC_USDHC
46-
bool "NXP i.MXRT USDHC driver"
47-
depends on (HAS_MCUX_USDHC1 || HAS_MCUX_USDHC2)
48-
default $(dt_compat_enabled,$(DT_COMPAT_NXP_USDHC))
49-
help
50-
File system on a SDHC card accessed over
51-
NXP USDHC.
52-
53-
if SDMMC_USDHC
54-
source "drivers/disk/Kconfig.usdhc"
55-
endif
56-
5744
config SDMMC_STM32
5845
bool "STM32 SDMMC driver"
5946
depends on HAS_STM32CUBE

drivers/disk/Kconfig.usdhc

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)