From: Dinesh Maniyam <dinesh.mani...@intel.com>

Add SYS_NAND_PAGE_SIZE dependency for cadence NAND.
This config is needed as the SPL driver will use this parameter
to read uboot-proper image in NAND during booting.

Signed-off-by: Dinesh Maniyam <dinesh.mani...@intel.com>
---
 drivers/mtd/nand/raw/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index d6ac730224..2ede732204 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -699,7 +699,7 @@ config SYS_NAND_PAGE_SIZE
                SPL_NAND_SIMPLE || (NAND_MXC && SPL_NAND_SUPPORT) || \
                MVEBU_SPL_BOOT_DEVICE_NAND || \
                (NAND_ATMEL && SPL_NAND_SUPPORT) || \
-               SPL_GENERATE_ATMEL_PMECC_HEADER || NAND_SANDBOX
+               SPL_GENERATE_ATMEL_PMECC_HEADER || NAND_SANDBOX || NAND_CADENCE
        depends on !NAND_MXS && !NAND_DENALI_DT && !NAND_LPC32XX_MLC && 
!NAND_MT7621
        help
          Number of data bytes in one page for the NAND chip on the
-- 
2.19.0

Reply via email to