summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-22 14:50:30 -0400
committerTom Rini <trini@konsulko.com>2021-10-06 09:16:23 -0400
commit8db73ec10630631e0b97ed900c8d00046883e374 (patch)
treeb46e1565861fbfabb645b8383ac19250d2768b0e /drivers
parenta0de075392fef8eb2d653a1fb54e7eb644b5353a (diff)
downloadu-boot-8db73ec10630631e0b97ed900c8d00046883e374.tar.gz
u-boot-8db73ec10630631e0b97ed900c8d00046883e374.tar.bz2
u-boot-8db73ec10630631e0b97ed900c8d00046883e374.zip
Convert CONFIG_SYS_NAND_PAGE_COUNT to Kconfig
This converts the following to Kconfig: CONFIG_SYS_NAND_PAGE_COUNT Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/raw/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 04bf910db3..8739f3e8d7 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -370,6 +370,13 @@ config SYS_NAND_BLOCK_SIZE
board. This is the multiple of NAND_PAGE_SIZE and the number of
pages.
+config SYS_NAND_PAGE_COUNT
+ hex "NAND chip page count"
+ depends on SPL_NAND_SUPPORT && (NAND_ATMEL || NAND_MXC || \
+ SPL_NAND_AM33XX_BCH || SPL_NAND_LOAD || SPL_NAND_SIMPLE)
+ help
+ Number of pages in the NAND chip.
+
config SYS_NAND_PAGE_SIZE
hex "NAND chip page size"
depends on ARCH_SUNXI || NAND_OMAP_GPMC || NAND_LPC32XX_SLC || \