drivers/flash: move JESD216 option into FLASH

This option is part of FLASH API configuration.
I moved it where it belongs.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
Andrzej Puzdrowski 2022-09-15 18:17:43 +02:00 committed by Fabio Baltieri
commit 102583ab7f

View file

@ -23,15 +23,6 @@ config FLASH_JESD216
Selected by drivers that support JESD216-compatible flash Selected by drivers that support JESD216-compatible flash
devices to enable building a common support module. devices to enable building a common support module.
config FLASH_JESD216_API
bool "Provide API to read JESD216 flash parameters"
depends on FLASH_JESD216
help
This option extends the Zephyr flash API with the ability
to access the Serial Flash Discoverable Parameter section
allowing runtime determination of serial flash parameters
for flash drivers that expose this capability.
menuconfig FLASH menuconfig FLASH
bool "Flash hardware support" bool "Flash hardware support"
help help
@ -43,6 +34,15 @@ module = FLASH
module-str = flash module-str = flash
source "subsys/logging/Kconfig.template.log_config" source "subsys/logging/Kconfig.template.log_config"
config FLASH_JESD216_API
bool "Provide API to read JESD216 flash parameters"
depends on FLASH_JESD216
help
This option extends the Zephyr flash API with the ability
to access the Serial Flash Discoverable Parameter section
allowing runtime determination of serial flash parameters
for flash drivers that expose this capability.
config FLASH_SHELL config FLASH_SHELL
bool "Flash shell" bool "Flash shell"
depends on SHELL && FLASH_PAGE_LAYOUT depends on SHELL && FLASH_PAGE_LAYOUT