developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame^] | 1 | From 6fa8802185f08391dd3eb6e0609268e1108a7f57 Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:15 +0800 |
| 4 | Subject: [PATCH] [spi-and-storage][999-2332-mtd-add-mtk-snand-driver.patch] |
| 5 | |
| 6 | --- |
| 7 | drivers/mtd/Kconfig | 2 ++ |
| 8 | drivers/mtd/Makefile | 2 ++ |
| 9 | 2 files changed, 4 insertions(+) |
| 10 | |
| 11 | diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig |
| 12 | index 3ed42b402..4b6f9d851 100644 |
| 13 | --- a/drivers/mtd/Kconfig |
| 14 | +++ b/drivers/mtd/Kconfig |
| 15 | @@ -230,6 +230,8 @@ source "drivers/mtd/hyperbus/Kconfig" |
| 16 | |
| 17 | source "drivers/mtd/nmbm/Kconfig" |
| 18 | |
| 19 | +source "drivers/mtd/mtk-snand/Kconfig" |
| 20 | + |
| 21 | source "drivers/mtd/composite/Kconfig" |
| 22 | |
| 23 | endif # MTD |
| 24 | diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile |
| 25 | index f27f66784..df786f994 100644 |
| 26 | --- a/drivers/mtd/Makefile |
| 27 | +++ b/drivers/mtd/Makefile |
| 28 | @@ -35,5 +35,7 @@ obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/ |
| 29 | |
| 30 | obj-y += nmbm/ |
| 31 | |
| 32 | +obj-$(CONFIG_MTK_SPI_NAND) += mtk-snand/ |
| 33 | + |
| 34 | # Composite drivers must be loaded last |
| 35 | obj-y += composite/ |
| 36 | -- |
| 37 | 2.34.1 |
| 38 | |