drivers: flash: move FLASH_HAS_PAGE_LAYOUT Kconfig from arch

Keyword FLASH_HAS_PAGE_LAYOUT is related to flash and should
be declared in its Kconfig.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
Andrzej Puzdrowski 2018-03-07 16:36:50 +01:00 committed by Carles Cufí
commit c788f84f25
2 changed files with 7 additions and 7 deletions

View file

@ -269,13 +269,6 @@ config FP_SHARING
endmenu
config FLASH_HAS_PAGE_LAYOUT
bool
default n
help
This option is enabled when the SoC flash driver supports
retrieving the layout of flash memory pages.
#
# End hidden PM feature configs
#

View file

@ -15,6 +15,13 @@ config FLASH_HAS_DRIVER_ENABLED
help
This option is enabled when any flash driver is enabled.
config FLASH_HAS_PAGE_LAYOUT
bool
default n
help
This option is enabled when the SoC flash driver supports
retrieving the layout of flash memory pages.
menuconfig FLASH
bool
prompt "Flash hardware support"