diff options
author | Tom Rini <trini@konsulko.com> | 2022-07-23 20:05:04 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-04 23:18:47 +0300 |
commit | 1db251bdd5750e89bdb3c0707f51de0029cc0f0e (patch) | |
tree | 0385354c9c40214c490d176becbdf15a246c9aca /drivers | |
parent | 17ead040d402c6e1fe26ac5acc4773146c8a0918 (diff) | |
download | u-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')
-rw-r--r-- | drivers/mtd/Kconfig | 5 |
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" |