From c788f84f259689f87588882cfe86758d24b167fc Mon Sep 17 00:00:00 2001 From: Andrzej Puzdrowski Date: Wed, 7 Mar 2018 16:36:50 +0100 Subject: [PATCH] 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 --- arch/Kconfig | 7 ------- drivers/flash/Kconfig | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) 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"