summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorApurva Nandan <a-nandan@ti.com>2023-05-26 14:42:26 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2023-05-30 06:35:36 -0500
commitd4cda9dd20ed4742b725240c8e7e72dcbd683839 (patch)
tree7bf3c3ac4043ce76d3f5b7bd88bc62db60d107c1 /common
parent296b57dc1ad8f240b31e6881f980a743feec4007 (diff)
mtd: nand: spi: Enable spinand build Kconfig option for spl
Only RAW NANDs are supported in the SPL, so create a new Kconfig config for building SPI NAND subsystem in the SPL build using SPL_NAND_SPI_SUPPORT Kconfig option. Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 3c2af453ab..f6e4bcc6b2 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -916,6 +916,12 @@ config SPL_NAND_IDENT
help
SPL uses the chip ID list to identify the NAND flash.
+config SPL_NAND_SPI_SUPPORT
+ bool "Support loading from SPI NAND flash"
+ depends on SPL_MTD_LOAD
+ help
+ Enable support for SPI NAND Flash in SPL.
+
config SPL_UBI
bool "Support UBI"
help