From patchwork Wed Nov 28 23:07:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1004929 X-Patchwork-Delegate: jagannadh.teki@gmail.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 434xWB3X1bz9s3l for ; Thu, 29 Nov 2018 10:21:58 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D3618C2237B; Wed, 28 Nov 2018 23:18:21 +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 8AA46C223D9; Wed, 28 Nov 2018 23:09:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B7214C22376; 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 DB295C22378 for ; Wed, 28 Nov 2018 23:08:21 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id 6320C20D73; Thu, 29 Nov 2018 00:08:21 +0100 (CET) Received: from localhost.localdomain (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id A70EB206FF; Thu, 29 Nov 2018 00:08:20 +0100 (CET) From: Miquel Raynal To: u-boot@lists.denx.de Date: Thu, 29 Nov 2018 00:07:54 +0100 Message-Id: <20181128230800.13292-19-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 , Kyungmin Park , Boris Brezillon , Miquel Raynal , Steve Rae , TsiChung Liew Subject: [U-Boot] [PATCH v2 18/24] mtd: rawnand: compile-in the NAND core 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" The NAND core should be selected by both SPI NAND and raw NAND drivers. Signed-off-by: Miquel Raynal --- drivers/mtd/nand/raw/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index a1fd476b0d..5624e47d65 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -1,6 +1,8 @@ menuconfig MTD_RAW_NAND bool "Raw NAND Device Support" + select MTD_NAND_CORE + if MTD_RAW_NAND config SYS_NAND_SELF_INIT