disk: move disk and sdmmc controller drivers to drivers/disk

The files disk_access_usdhc.c, disk_access_spi_sdhc.c,
disk_access_stm32_sdmmc.c, disk_access_ram.c and
disk_access_flash.c are actually drivers for block devices and SD/MMC
controllers. This patch moves this drivers to drivers/disk and
reworks the configuration so that the drivers are selected when
the corresponding node is enabled.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2021-02-24 00:41:46 +01:00 committed by Carles Cufí
commit 03101e75d8
15 changed files with 175 additions and 151 deletions

View file

@ -111,4 +111,6 @@ source "drivers/pm_cpu_ops/Kconfig"
source "drivers/misc/Kconfig"
source "drivers/disk/Kconfig"
endmenu