Skip to content

Commit c788f84

Browse files
nvlsianpucarlescufi
authored andcommitted
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 <[email protected]>
1 parent 80a99fa commit c788f84

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

arch/Kconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,6 @@ config FP_SHARING
269269

270270
endmenu
271271

272-
config FLASH_HAS_PAGE_LAYOUT
273-
bool
274-
default n
275-
help
276-
This option is enabled when the SoC flash driver supports
277-
retrieving the layout of flash memory pages.
278-
279272
#
280273
# End hidden PM feature configs
281274
#

drivers/flash/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ config FLASH_HAS_DRIVER_ENABLED
1515
help
1616
This option is enabled when any flash driver is enabled.
1717

18+
config FLASH_HAS_PAGE_LAYOUT
19+
bool
20+
default n
21+
help
22+
This option is enabled when the SoC flash driver supports
23+
retrieving the layout of flash memory pages.
24+
1825
menuconfig FLASH
1926
bool
2027
prompt "Flash hardware support"

0 commit comments

Comments
 (0)