blob: f283bd201f3df8b14702332945ab78d03f025e4f [file] [log] [blame]
developerec4ebe42022-04-12 11:17:45 +08001--- a/drivers/mtd/Kconfig
2+++ b/drivers/mtd/Kconfig
3@@ -230,6 +230,8 @@ source "drivers/mtd/hyperbus/Kconfig"
4
5 source "drivers/mtd/nmbm/Kconfig"
6
7+source "drivers/mtd/mtk-snand/Kconfig"
8+
9 source "drivers/mtd/composite/Kconfig"
10
11 endif # MTD
12--- a/drivers/mtd/Makefile
13+++ b/drivers/mtd/Makefile
14@@ -35,5 +35,7 @@ obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/
15
16 obj-y += nmbm/
17
18+obj-$(CONFIG_MTK_SPI_NAND) += mtk-snand/
19+
20 # Composite drivers must be loaded last
21 obj-y += composite/