developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From 648532e848587a525aa02add84b119844a4aabc3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:14 +0800 |
| 4 | Subject: [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 | |
| 11 | diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig |
| 12 | index 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 |
| 24 | diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile |
| 25 | index 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 | -- |
| 37 | 2.34.1 |
| 38 | |