blob: f283bd201f3df8b14702332945ab78d03f025e4f [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001--- a/drivers/mtd/Kconfig
2+++ b/drivers/mtd/Kconfig
developer8d16ac22021-05-26 15:32:12 +08003@@ -230,6 +230,8 @@ source "drivers/mtd/hyperbus/Kconfig"
developerfd40db22021-04-29 10:08:25 +08004
developer8d16ac22021-05-26 15:32:12 +08005 source "drivers/mtd/nmbm/Kconfig"
developerfd40db22021-04-29 10:08:25 +08006
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
developer8d16ac22021-05-26 15:32:12 +080014@@ -35,5 +35,7 @@ obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/
15
16 obj-y += nmbm/
developerfd40db22021-04-29 10:08:25 +080017
18+obj-$(CONFIG_MTK_SPI_NAND) += mtk-snand/
19+
20 # Composite drivers must be loaded last
21 obj-y += composite/