blob: a020a2fa31b893e0ca7021fe9d16d2b0961aa2a4 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 6fa8802185f08391dd3eb6e0609268e1108a7f57 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:15 +0800
4Subject: [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
11diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
12index 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
24diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile
25index 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--
372.34.1
38