03101e75d8
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>
30 lines
611 B
Plaintext
30 lines
611 B
Plaintext
# Copyright (c) 2016 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config DISK_DRIVER_RAM
|
|
bool "RAM Disk"
|
|
help
|
|
RAM buffer used to emulate storage disk.
|
|
This option can be used to test the file
|
|
system.
|
|
|
|
if DISK_DRIVER_RAM
|
|
|
|
config DISK_RAM_VOLUME_SIZE
|
|
int "RAM Disk size in kilobytes"
|
|
default 96
|
|
help
|
|
Size of the RAM Disk.
|
|
|
|
config DISK_RAM_VOLUME_NAME
|
|
string "RAM Disk mount point or drive name"
|
|
default "RAM"
|
|
help
|
|
Disk name as per file system naming guidelines.
|
|
|
|
module = RAMDISK
|
|
module-str = ramdisk
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif # DISK_DRIVER_RAM
|