]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: rawnand: omap_gpmc: Enable SYS_NAND_PAGE_COUNT for OMAP_GPMC
authorRoger Quadros <rogerq@kernel.org>
Tue, 20 Dec 2022 10:22:01 +0000 (12:22 +0200)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 8 Jan 2023 09:38:50 +0000 (10:38 +0100)
The symbol is required for NAND support in SPL when using
OMAP_GPMC driver.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/all/20221220102203.52398-7-rogerq@kernel.org
drivers/mtd/nand/raw/Kconfig

index 7f2f49c5600f6349dfd34c6cb5f504e513f8e0ac..92e8ac0a67c56be1c512f8919d81b11b80abcec6 100644 (file)
@@ -638,7 +638,8 @@ config SYS_NAND_ONFI_DETECTION
 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)
+               SPL_NAND_AM33XX_BCH || SPL_NAND_LOAD || SPL_NAND_SIMPLE || \
+               NAND_OMAP_GPMC)
        help
          Number of pages in the NAND chip.