blob: 5cbaae2b7bba3d07d0478c809dd673bc25623bf0 [file] [log] [blame]
developer8d16ac22021-05-26 15:32:12 +08001--- a/drivers/mtd/Kconfig
2+++ b/drivers/mtd/Kconfig
3@@ -228,6 +228,8 @@ source "drivers/mtd/ubi/Kconfig"
4
5 source "drivers/mtd/hyperbus/Kconfig"
6
7+source "drivers/mtd/nmbm/Kconfig"
8+
9 source "drivers/mtd/composite/Kconfig"
10
11 endif # MTD
12--- a/drivers/mtd/Makefile
13+++ b/drivers/mtd/Makefile
14@@ -33,5 +33,7 @@ obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/
15 obj-$(CONFIG_MTD_UBI) += ubi/
16 obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/
17
18+obj-y += nmbm/
19+
20 # Composite drivers must be loaded last
21 obj-y += composite/