diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2022-04-07 10:16:47 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2022-04-28 18:06:00 +0800 |
commit | 68d5efaa10cf0689521fe05e386e3a1e11d8cb29 (patch) | |
tree | c6492319fa9cb6ef1694431c948b907be6fe2735 /target/linux/mediatek/mt7622 | |
parent | 2138956bdc3145fac26d2ba8ac966f31d33cd290 (diff) | |
download | upstream-68d5efaa10cf0689521fe05e386e3a1e11d8cb29.tar.gz upstream-68d5efaa10cf0689521fe05e386e3a1e11d8cb29.tar.bz2 upstream-68d5efaa10cf0689521fe05e386e3a1e11d8cb29.zip |
mediatek: add an upstreamed spi-nand driver
This patch implements the spi-nand controller driver as an ECC-capable
spi-mem controller to use the upstream SPI-NAND driver.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/mediatek/mt7622')
-rw-r--r-- | target/linux/mediatek/mt7622/config-5.15 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mediatek/mt7622/config-5.15 b/target/linux/mediatek/mt7622/config-5.15 index 0ed8a854d3..c613fd0dcb 100644 --- a/target/linux/mediatek/mt7622/config-5.15 +++ b/target/linux/mediatek/mt7622/config-5.15 @@ -247,6 +247,7 @@ CONFIG_MODULES_TREE_LOOKUP=y CONFIG_MODULES_USE_ELF_RELA=y CONFIG_MTD_NAND_CORE=y CONFIG_MTD_NAND_ECC=y +CONFIG_MTD_NAND_ECC_MEDIATEK=y CONFIG_MTD_NAND_ECC_SW_HAMMING=y CONFIG_MTD_NAND_MTK=y CONFIG_MTD_NAND_MTK_BMT=y @@ -268,7 +269,6 @@ CONFIG_MTK_INFRACFG=y CONFIG_MTK_PMIC_WRAP=y CONFIG_MTK_SCPSYS=y CONFIG_MTK_SCPSYS_PM_DOMAINS=y -CONFIG_MTK_SPI_NAND=y CONFIG_MTK_THERMAL=y CONFIG_MTK_TIMER=y # CONFIG_MTK_UART_APDMA is not set @@ -349,7 +349,6 @@ CONFIG_POWER_RESET_SYSCON=y CONFIG_POWER_SUPPLY=y CONFIG_PRINTK_TIME=y CONFIG_PSTORE=y -# CONFIG_PSTORE_BLK is not set CONFIG_PSTORE_COMPRESS=y CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" CONFIG_PSTORE_CONSOLE=y @@ -411,6 +410,7 @@ CONFIG_SPI_MASTER=y CONFIG_SPI_MEM=y CONFIG_SPI_MT65XX=y CONFIG_SPI_MTK_NOR=y +CONFIG_SPI_MTK_SNFI=y CONFIG_SRCU=y CONFIG_SWCONFIG=y CONFIG_SWIOTLB=y |