summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-23 20:05:04 +0300
committerTom Rini <trini@konsulko.com>2022-08-04 23:18:47 +0300
commit1db251bdd5750e89bdb3c0707f51de0029cc0f0e (patch)
tree0385354c9c40214c490d176becbdf15a246c9aca /drivers/mtd
parent17ead040d402c6e1fe26ac5acc4773146c8a0918 (diff)
downloadu-boot-1db251bdd5750e89bdb3c0707f51de0029cc0f0e.tar.xz
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')
-rw-r--r--drivers/mtd/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 431168d12e..828ec97582 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"