summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorApurva Nandan <a-nandan@ti.com>2022-08-29 11:38:33 +0000
committerAnand Gadiyar <gadiyar@ti.com>2022-08-30 09:41:01 -0500
commitc4eeffb31a3d2ec84fe56106bb8bf60c23b8ae54 (patch)
tree333874587e3b0f7d979ea650eac67169b7fc2bc9 /common
parentb7756a1b92226b0825507e5ae7f84b79455d9e8e (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 d8086bd9e8..33bf9bb450 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -778,6 +778,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