summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-18 16:36:53 +0100
committerMichael Trimarchi <[email protected]>2025-11-18 20:06:17 +0100
commit75153d92a5c02d8eba01c0893f6aff69ad4d2e2b (patch)
treed6d3f67fac949aa452a2c99fa4ac1a42b0cfad0f /drivers
parent78dafa8e9e5ac2ef77756889925f4b1ea0042520 (diff)
nand: raw: Kconfig: Correct some dependency issues
The hidden symbol SPL_SYS_NAND_SELF_INIT was not being used correctly leading to Kconfig dependency issues seen with "make allyesconfig". As it's a select'd symbol we don't need to have a depends line on it, and then in turn we need to also update the logic on SYS_NAND_PAGE_SIZE and SYS_NAND_OOBSIZE. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/raw/Kconfig3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 754b99bf3eb..f083113486e 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -11,7 +11,6 @@ config SYS_NAND_SELF_INIT
config SPL_SYS_NAND_SELF_INIT
bool
- depends on !SPL_NAND_SIMPLE
help
This option, if enabled, provides more flexible and linux-like
NAND initialization process, in SPL.
@@ -671,7 +670,6 @@ config SYS_NAND_PAGE_SIZE
MVEBU_SPL_BOOT_DEVICE_NAND || \
(NAND_ATMEL && SPL_NAND_SUPPORT) || \
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
board, not including the OOB area.
@@ -681,7 +679,6 @@ config SYS_NAND_OOBSIZE
depends on ARCH_SUNXI || NAND_OMAP_GPMC || \
SPL_NAND_SIMPLE || (NAND_MXC && SPL_NAND_SUPPORT) || \
(NAND_ATMEL && SPL_NAND_SUPPORT) || SPL_GENERATE_ATMEL_PMECC_HEADER
- depends on !NAND_MXS && !NAND_DENALI_DT && !NAND_LPC32XX_MLC
help
Number of bytes in the Out-Of-Band area for the NAND chip on
the board.