aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.10/360-mtd-add-mtk-snand-driver.patch
blob: ebba6ffaad8acc8ee36328d33698d67b8079e22f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -238,6 +238,8 @@ source "drivers/mtd/ubi/Kconfig"
 
 source "drivers/mtd/hyperbus/Kconfig"
 
+source "drivers/mtd/mtk-snand/Kconfig"
+
 source "drivers/mtd/composite/Kconfig"
 
 endif # MTD
--- a/drivers/mtd/Makefile
+++ b/drivers/mtd/Makefile
@@ -34,5 +34,7 @@ obj-$(CONFIG_MTD_SPI_NOR)	+= spi-nor/
 obj-$(CONFIG_MTD_UBI)		+= ubi/
 obj-$(CONFIG_MTD_HYPERBUS)	+= hyperbus/
 
+obj-$(CONFIG_MTK_SPI_NAND)	+= mtk-snand/
+
 # Composite drivers must be loaded last
 obj-y				+= composite/