diff --git a/arch/Kconfig b/arch/Kconfig index 585e19d7243..6f141893dcf 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -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 # diff --git a/drivers/flash/Kconfig b/drivers/flash/Kconfig index 3055ffa0b3e..5242ba3f76f 100644 --- a/drivers/flash/Kconfig +++ b/drivers/flash/Kconfig @@ -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"