From patchwork Wed Jun 10 08:41:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Poeschel X-Patchwork-Id: 482520 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 62DF214010F for ; Wed, 10 Jun 2015 18:41:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 42A4C4B65A; Wed, 10 Jun 2015 10:41:19 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9TS1DvcL627G; Wed, 10 Jun 2015 10:41:19 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1E1DE4B632; Wed, 10 Jun 2015 10:41:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DFAA04B669 for ; Wed, 10 Jun 2015 10:41:15 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5EsV5c06ridy for ; Wed, 10 Jun 2015 10:41:15 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtp2.goneo.de (smtp2.goneo.de [85.220.129.33]) by theia.denx.de (Postfix) with ESMTPS id 2F5AD4B65D for ; Wed, 10 Jun 2015 10:41:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id DC1C823FEA7; Wed, 10 Jun 2015 10:41:10 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -1.875 X-Spam-Level: X-Spam-Status: No, score=-1.875 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.874, BAYES_40=-0.001] autolearn=unavailable Received: from smtp2.goneo.de ([127.0.0.1]) by localhost (smtp2.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o2to62aIZkoJ; Wed, 10 Jun 2015 10:41:00 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (p50998852.dip0.t-ipconnect.de [80.153.136.82]) by smtp2.goneo.de (Postfix) with ESMTPSA id 68B9923FEBB; Wed, 10 Jun 2015 10:41:00 +0200 (CEST) From: Lars Poeschel To: Lars Poeschel , Tom Rini , Masahiro Yamada , sjg@chromium.org, ruchika.gupta@freescale.com, joe.hershberger@ni.com, p.marczak@samsung.com, gaurav.rana@freescale.com, sr@denx.de, andrej.skvortzov@gmail.com, Nikolaos.Pasaloukos@imgtec.com Date: Wed, 10 Jun 2015 10:41:00 +0200 Message-Id: <1433925663-3713-2-git-send-email-poeschel@lemonage.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1433925663-3713-1-git-send-email-poeschel@lemonage.de> References: <1433925663-3713-1-git-send-email-poeschel@lemonage.de> Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 2/5] Make MTD_PARTITIONS selectable by Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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"