2017-11-22 21:25:49 +01:00
|
|
|
# Kconfig - Flash driver configuration options
|
2016-02-18 10:52:19 -08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
|
|
#
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-02-18 10:52:19 -08:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
2017-11-22 21:25:49 +01:00
|
|
|
# Flash driver
|
2016-02-18 10:52:19 -08:00
|
|
|
#
|
2018-03-07 14:31:56 +01:00
|
|
|
config FLASH_HAS_DRIVER_ENABLED
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
This option is enabled when any flash driver is enabled.
|
|
|
|
|
2018-03-07 16:36:50 +01:00
|
|
|
config FLASH_HAS_PAGE_LAYOUT
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
This option is enabled when the SoC flash driver supports
|
|
|
|
retrieving the layout of flash memory pages.
|
|
|
|
|
2016-02-18 10:52:19 -08:00
|
|
|
menuconfig FLASH
|
2018-08-14 16:19:20 +02:00
|
|
|
bool "Flash hardware support"
|
2016-02-18 10:52:19 -08:00
|
|
|
help
|
|
|
|
Enable support for the flash hardware.
|
2016-02-22 10:48:08 -08:00
|
|
|
|
2018-10-08 18:15:21 -04:00
|
|
|
if FLASH
|
2018-10-08 18:19:56 -04:00
|
|
|
|
|
|
|
module = FLASH
|
|
|
|
module-str = flash
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2018-10-18 13:15:46 -04:00
|
|
|
config FLASH_SHELL
|
|
|
|
bool "Enable Flash shell"
|
2019-02-04 13:43:10 -05:00
|
|
|
depends on FLASH_PAGE_LAYOUT
|
2018-10-18 13:15:46 -04:00
|
|
|
help
|
|
|
|
Enable the flash shell with flash related commands such as test,
|
|
|
|
write, read and erase.
|
|
|
|
|
2017-07-17 12:03:10 +02:00
|
|
|
config FLASH_PAGE_LAYOUT
|
|
|
|
bool "API for retrieving the layout of pages"
|
2018-10-08 18:15:21 -04:00
|
|
|
depends on FLASH_HAS_PAGE_LAYOUT
|
2017-07-17 12:03:10 +02:00
|
|
|
help
|
|
|
|
Enables API for retrieving the layout of flash memory pages.
|
|
|
|
|
2019-02-15 14:45:52 +01:00
|
|
|
source "drivers/flash/Kconfig.nrf"
|
2018-11-15 15:50:03 +01:00
|
|
|
|
2019-02-15 14:42:39 +01:00
|
|
|
source "drivers/flash/Kconfig.mcux"
|
2016-10-21 10:58:53 +02:00
|
|
|
|
2019-02-15 14:39:44 +01:00
|
|
|
source "drivers/flash/Kconfig.nios2_qspi"
|
2018-01-30 10:46:08 +05:30
|
|
|
|
2018-08-07 14:11:45 +02:00
|
|
|
source "drivers/flash/Kconfig.gecko"
|
|
|
|
|
2018-11-12 21:06:24 +05:30
|
|
|
source "drivers/flash/Kconfig.nor"
|
|
|
|
|
2018-05-29 18:15:15 +02:00
|
|
|
source "drivers/flash/Kconfig.qmsi"
|
|
|
|
|
2017-05-02 14:55:08 +00:00
|
|
|
source "drivers/flash/Kconfig.stm32"
|
2017-11-22 22:53:29 +01:00
|
|
|
|
|
|
|
source "drivers/flash/Kconfig.sam0"
|
2018-05-29 18:15:15 +02:00
|
|
|
|
2018-11-04 21:41:22 +01:00
|
|
|
source "drivers/flash/Kconfig.sam"
|
|
|
|
|
2018-05-29 18:15:15 +02:00
|
|
|
source "drivers/flash/Kconfig.w25qxxdv"
|
2018-10-08 18:15:21 -04:00
|
|
|
|
|
|
|
endif
|