developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | --- a/drivers/mtd/Kconfig |
| 2 | +++ b/drivers/mtd/Kconfig |
developer | 8d16ac2 | 2021-05-26 15:32:12 +0800 | [diff] [blame] | 3 | @@ -230,6 +230,8 @@ source "drivers/mtd/hyperbus/Kconfig" |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 4 | |
developer | 8d16ac2 | 2021-05-26 15:32:12 +0800 | [diff] [blame] | 5 | source "drivers/mtd/nmbm/Kconfig" |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 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 |
developer | 8d16ac2 | 2021-05-26 15:32:12 +0800 | [diff] [blame] | 14 | @@ -35,5 +35,7 @@ obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/ |
| 15 | |
| 16 | obj-y += nmbm/ |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 17 | |
| 18 | +obj-$(CONFIG_MTK_SPI_NAND) += mtk-snand/ |
| 19 | + |
| 20 | # Composite drivers must be loaded last |
| 21 | obj-y += composite/ |