From: Lars Poeschel Date: Wed, 10 Jun 2015 10:41:00 +0200 Subject: [U-Boot] [PATCH 2/5] Make MTD_PARTITIONS selectable by Kconfig In-Reply-To: <1433925663-3713-1-git-send-email-poeschel@lemonage.de> References: <1433925663-3713-1-git-send-email-poeschel@lemonage.de> Message-ID: <1433925663-3713-2-git-send-email-poeschel@lemonage.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- drivers/mtd/Kconfig | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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" -- 2.1.4