Message ID | 20181128230800.13292-21-miquel.raynal@bootlin.com |
---|---|
State | Superseded |
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 434xWg1K7cz9s3l for <incoming@patchwork.ozlabs.org>; Thu, 29 Nov 2018 10:22:23 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D9D6EC2237C; Wed, 28 Nov 2018 23:17:19 +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=none 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 9D779C223BA; Wed, 28 Nov 2018 23:08:58 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 59801C22376; Wed, 28 Nov 2018 23:08:52 +0000 (UTC) Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 43CE9C22388 for <u-boot@lists.denx.de>; Wed, 28 Nov 2018 23:08:23 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id BDE6D20D2E; Thu, 29 Nov 2018 00:08:22 +0100 (CET) Received: from localhost.localdomain (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id 1CFF9206FF; Thu, 29 Nov 2018 00:08:22 +0100 (CET) From: Miquel Raynal <miquel.raynal@bootlin.com> To: u-boot@lists.denx.de Date: Thu, 29 Nov 2018 00:07:56 +0100 Message-Id: <20181128230800.13292-21-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181128230800.13292-1-miquel.raynal@bootlin.com> References: <20181128230800.13292-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Cc: Tom Rini <trini@konsulko.com>, Kyungmin Park <kmpark@infradead.org>, Boris Brezillon <boris.brezillon@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 v2 20/24] mtd: nand: remove dependency on commands in Kconfig 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/nand/Makefile b/drivers/mtd/nand/Makefile index 99ca69ef95..e5849dc02a 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -2,7 +2,5 @@ nandcore-objs := core.o bbt.o obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o -ifneq (,$(findstring y,$(CONFIG_CMD_NAND)$(CONFIG_CMD_MTD))) -obj-y += raw/ -endif +obj-$(CONFIG_MTD_RAW_NAND) += raw/ obj-$(CONFIG_MTD_SPI_NAND) += spi/
Now that the defconfigs have been fixed, remove the dependencies on commands in Kconfig. The necessary symbols are enabled so this will not break anything. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> --- drivers/mtd/nand/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)