From patchwork Thu Oct 3 17:50:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1171319 X-Patchwork-Delegate: trini@ti.com Return-Path: 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=) 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 46kgn71KG7z9s4Y for ; Fri, 4 Oct 2019 04:01:47 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E6B40C21DF8; Thu, 3 Oct 2019 17:58:11 +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=KHOP_BIG_TO_CC 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 C0F75C21F3C; Thu, 3 Oct 2019 17:51:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9EB8FC21F98; Thu, 3 Oct 2019 17:51:47 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lists.denx.de (Postfix) with ESMTPS id 9B58AC21F7D for ; Thu, 3 Oct 2019 17:51:28 +0000 (UTC) X-Originating-IP: 91.224.148.103 Received: from localhost.localdomain (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 391C8E000D; Thu, 3 Oct 2019 17:51:26 +0000 (UTC) From: Miquel Raynal To: Boris Brezillon , Marek Vasut , Jagan Teki , Tom Rini , u-boot@lists.denx.de Date: Thu, 3 Oct 2019 19:50:23 +0200 Message-Id: <20191003175028.17015-22-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191003175028.17015-1-miquel.raynal@bootlin.com> References: <20191003175028.17015-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Cc: Kyungmin Park , Sumit Garg , Pramod Kumar , Thomas Petazzoni , Miquel Raynal , Steve Rae , TsiChung Liew , Mingkai Hu Subject: [U-Boot] [PATCH v5 21/26] mtd: nor: NOR flashes depend on MTD X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" A NOR flash needs the MTD core, ensure this dependency is met by adding a "depends on" in Kconfig. This is fine since defconfigs have been fixed. Signed-off-by: Miquel Raynal --- drivers/mtd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 345046c2a6..0832f5b411 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -19,6 +19,7 @@ config DM_MTD config MTD_NOR_FLASH bool "Enable parallel NOR flash support" + depends on MTD help Enable support for parallel NOR flash.