blob: 1ed432c69f08b764ed88f1160b4a880c7fb4ead8 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 648532e848587a525aa02add84b119844a4aabc3 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:14 +0800
4Subject: [PATCH] [spi-and-storage][999-2328-mtd-add-nmbm-support.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 503f19763..3ed42b402 100644
13--- a/drivers/mtd/Kconfig
14+++ b/drivers/mtd/Kconfig
15@@ -228,6 +228,8 @@ source "drivers/mtd/ubi/Kconfig"
16
17 source "drivers/mtd/hyperbus/Kconfig"
18
19+source "drivers/mtd/nmbm/Kconfig"
20+
21 source "drivers/mtd/composite/Kconfig"
22
23 endif # MTD
24diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile
25index 147e79596..f27f66784 100644
26--- a/drivers/mtd/Makefile
27+++ b/drivers/mtd/Makefile
28@@ -33,5 +33,7 @@ obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/
29 obj-$(CONFIG_MTD_UBI) += ubi/
30 obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/
31
32+obj-y += nmbm/
33+
34 # Composite drivers must be loaded last
35 obj-y += composite/
36--
372.34.1
38