summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDinesh Maniyam <dinesh.maniyam@intel.com>2025-02-27 00:18:32 +0800
committerMichael Trimarchi <michael@amarulasolutions.com>2025-03-15 10:35:01 +0100
commit0375a1f145b6f95f2def8f39c957e83f6e11a56d (patch)
tree21b5a6135affe9730b9727193176b56502f321b9
parent10b800a69d00500c3ef5b542cb9c3a925108a46b (diff)
drivers: mtd: nand: Kconfig: Add SYS_NAND_PAGE_SIZE dependency
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.maniyam@intel.com>
-rw-r--r--drivers/mtd/nand/raw/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 03dd79a05b3..adb271dfb8f 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -688,7 +688,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