Message ID | 20181209180747.24575-22-miquel.raynal@bootlin.com |
---|---|
State | Changes Requested |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bootlin.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43CZMR0B6vz9s3q for <incoming@patchwork.ozlabs.org>; Mon, 10 Dec 2018 05:23:15 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 6E8E7C2260D; Sun, 9 Dec 2018 18:18:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3C50BC227F9; Sun, 9 Dec 2018 18:09:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2B231C2265F; Sun, 9 Dec 2018 18:08:57 +0000 (UTC) Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 3F4E2C2232D for <u-boot@lists.denx.de>; Sun, 9 Dec 2018 18:08:39 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id 5CF8020C94; Sun, 9 Dec 2018 19:08:38 +0100 (CET) Received: from localhost.localdomain (unknown [37.171.2.184]) by mail.bootlin.com (Postfix) with ESMTPSA id A8B9F20CC3; Sun, 9 Dec 2018 19:08:26 +0100 (CET) From: Miquel Raynal <miquel.raynal@bootlin.com> To: Boris Brezillon <boris.brezillon@bootlin.com>, Marek Vasut <marek.vasut@gmail.com>, Jagan Teki <jagan@amarulasolutions.com>, Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de Date: Sun, 9 Dec 2018 19:07:43 +0100 Message-Id: <20181209180747.24575-22-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181209180747.24575-1-miquel.raynal@bootlin.com> References: <20181209180747.24575-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Cc: Kyungmin Park <kmpark@infradead.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Miquel Raynal <miquel.raynal@bootlin.com>, Steve Rae <steve.rae@raedomain.com>, TsiChung Liew <Tsi-Chung.Liew@nxp.com> Subject: [U-Boot] [PATCH v4 21/25] mtd: spi: SPI_FLASH_MTD depends on MTD X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
MTD defconfigs/Kconfigs/Makefiles heavy cleanup
|
expand
|
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index 76d5a1d115..6c79e1ccda 100644 --- a/drivers/mtd/spi/Kconfig +++ b/drivers/mtd/spi/Kconfig @@ -136,7 +136,7 @@ config SPI_FLASH_DATAFLASH config SPI_FLASH_MTD bool "SPI Flash MTD support" - depends on SPI_FLASH + depends on SPI_FLASH && MTD help Enable the MTD support for spi flash layer, this adapter is for translating mtd_read/mtd_write commands into spi_flash_read/write
It is already the case that all defconfigs with SPI_FLASH_MTD also declare using MTD, but let's make this consistent and enforce it in Kconfig. Most of the time SPI_FLASH_MTD is used in conjunction with UBI, which already depends on MTD. Suggested-by: Vignesh R <vigneshr@ti.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> --- drivers/mtd/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)