From d4cda9dd20ed4742b725240c8e7e72dcbd683839 Mon Sep 17 00:00:00 2001 From: Apurva Nandan Date: Fri, 26 May 2023 14:42:26 +0530 Subject: 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 --- common/spl/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common') 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 -- cgit v1.2.3