diff mbox

[U-Boot,2/5] Make MTD_PARTITIONS selectable by Kconfig

Message ID 1433925663-3713-2-git-send-email-poeschel@lemonage.de
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Lars Poeschel June 10, 2015, 8:41 a.m. UTC
Users who want to use MTD_PARTITIONS can now select it by Kconfig.
Selecting it by board config include is still possible.

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
---
 drivers/mtd/Kconfig | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

Comments

Tom Rini June 19, 2015, 8:24 p.m. UTC | #1
On Wed, Jun 10, 2015 at 10:41:00AM +0200, Lars Poeschel wrote:

> Users who want to use MTD_PARTITIONS can now select it by Kconfig.
> Selecting it by board config include is still possible.
> 
> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>

Applied to u-boot/master, thanks!
Tom Rini June 19, 2015, 8:48 p.m. UTC | #2
On Wed, Jun 10, 2015 at 10:41:00AM +0200, Lars Poeschel wrote:

> Users who want to use MTD_PARTITIONS can now select it by Kconfig.
> Selecting it by board config include is still possible.
> 
> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>

For the record, not applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 59278d1..787b1cd 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -1,3 +1,12 @@ 
-source "drivers/mtd/nand/Kconfig"
+menu "Memory Technology Device (MTD) support"
+
+config MTD_PARTITIONS
+	bool "mtd partitions support"
+	help
+	  Adds the MTD partitioning infrastructure from the Linux
+	  kernel. Needed for UBI support.
 
+endmenu
+
+source "drivers/mtd/nand/Kconfig"
 source "drivers/mtd/spi/Kconfig"