developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | --- 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/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 | @@ -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-$(CONFIG_MTK_SPI_NAND) += mtk-snand/ |
| 19 | + |
| 20 | # Composite drivers must be loaded last |
| 21 | obj-y += composite/ |