subsys: disk: move conditional location
We had the if in the wrong place causing some Kconfigs to be set even if DISK_ACCESS was not configured in. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
aab35b34ac
commit
412a0b0682
1 changed files with 2 additions and 2 deletions
|
@ -11,6 +11,8 @@ config DISK_ACCESS
|
||||||
help
|
help
|
||||||
Enable disk access over a supported media backend like FLASH or RAM
|
Enable disk access over a supported media backend like FLASH or RAM
|
||||||
|
|
||||||
|
if DISK_ACCESS
|
||||||
|
|
||||||
config DISK_ACCESS_MAX_VOLUMES
|
config DISK_ACCESS_MAX_VOLUMES
|
||||||
int "Maximum Disk Interfaces"
|
int "Maximum Disk Interfaces"
|
||||||
default 8
|
default 8
|
||||||
|
@ -21,8 +23,6 @@ module = DISK
|
||||||
module-str = disk
|
module-str = disk
|
||||||
source "subsys/logging/Kconfig.template.log_config"
|
source "subsys/logging/Kconfig.template.log_config"
|
||||||
|
|
||||||
if DISK_ACCESS
|
|
||||||
|
|
||||||
config DISK_ACCESS_RAM
|
config DISK_ACCESS_RAM
|
||||||
bool "RAM Disk"
|
bool "RAM Disk"
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue