diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-22 21:50:36 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-06 16:16:24 +0300 |
commit | b2e25afabd18525c736db7f8fd2cb5593a1fd7ea (patch) | |
tree | a9c782a66947a2296c9c0938c20d6631369f19d6 /drivers/mtd/Kconfig | |
parent | 1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc (diff) | |
download | u-boot-b2e25afabd18525c736db7f8fd2cb5593a1fd7ea.tar.xz |
Convert CONFIG_SYS_NAND_MAX_CHIPS to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_NAND_MAX_CHIPS
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r-- | drivers/mtd/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index b303fabe0f..83c055a26e 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -111,6 +111,14 @@ config HBMC_AM654 source "drivers/mtd/nand/Kconfig" +config SYS_NAND_MAX_CHIPS + int "NAND max chips" + depends on MTD_RAW_NAND || CMD_ONENAND || TARGET_S5PC210_UNIVERSAL || \ + SPL_OMAP3_ID_NAND + default 1 + help + The maximum number of NAND chips per device to be supported. + source "drivers/mtd/spi/Kconfig" source "drivers/mtd/ubi/Kconfig" |