2021-02-24 00:41:46 +01:00
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config DISK_DRIVER_FLASH
|
|
|
|
bool "Flash"
|
2024-07-11 16:20:07 +10:00
|
|
|
depends on DT_HAS_ZEPHYR_FLASH_DISK_ENABLED
|
|
|
|
default y
|
2021-02-24 00:41:46 +01:00
|
|
|
select FLASH
|
2022-10-17 14:36:07 +02:00
|
|
|
select FLASH_MAP
|
2021-02-24 00:41:46 +01:00
|
|
|
help
|
|
|
|
Flash device is used for the file system.
|
|
|
|
|
|
|
|
if DISK_DRIVER_FLASH
|
2022-10-28 07:25:17 +02:00
|
|
|
|
|
|
|
config FLASHDISK_VERIFY_PAGE_LAYOUT
|
|
|
|
bool "Verify flashdisk partition layout"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable runtime zephyr,flash-disk partition page layout constraints
|
|
|
|
verification. Disable to reduce code size.
|
|
|
|
|
2021-02-24 00:41:46 +01:00
|
|
|
module = FLASHDISK
|
|
|
|
module-str = flashdisk
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
|
|
|
endif # DISK_DRIVER_FLASH
|