aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/Kconfig
diff options
context:
space:
mode:
authorTom Rini2022-07-23 13:05:04 -0400
committerTom Rini2022-08-04 16:18:47 -0400
commit1db251bdd5750e89bdb3c0707f51de0029cc0f0e (patch)
tree0385354c9c40214c490d176becbdf15a246c9aca /drivers/mtd/Kconfig
parent17ead040d402c6e1fe26ac5acc4773146c8a0918 (diff)
Convert CONFIG_SYS_MAX_FLASH_SECT to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MAX_FLASH_SECT Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r--drivers/mtd/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 431168d12ee..828ec975820 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -171,6 +171,11 @@ config STM32_FLASH
This is the driver of embedded flash for some STMicroelectronics
STM32 MCU.
+config SYS_MAX_FLASH_SECT
+ int "Maximumm number of sectors on a flash chip"
+ depends on MTD_NOR_FLASH || FLASH_CFI_DRIVER
+ default 512
+
config SAMSUNG_ONENAND
bool "Samsung OneNAND driver support"