From patchwork Tue Dec 4 23:56:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1007919 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 438f4b3ngTz9s8J for ; Wed, 5 Dec 2018 11:00:15 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 3A58AC22425; Tue, 4 Dec 2018 23:59:53 +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 DFE28C22445; Tue, 4 Dec 2018 23:57:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C02E2C2240C; Tue, 4 Dec 2018 23:57:45 +0000 (UTC) Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 81B2CC22408 for ; Tue, 4 Dec 2018 23:57:40 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id CF10D20A5A; Wed, 5 Dec 2018 00:57:39 +0100 (CET) Received: from localhost.localdomain (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id 4062620A60; Wed, 5 Dec 2018 00:57:25 +0100 (CET) From: Miquel Raynal To: Boris Brezillon , Marek Vasut , Jagan Teki , Tom Rini , u-boot@lists.denx.de Date: Wed, 5 Dec 2018 00:56:58 +0100 Message-Id: <20181204235714.11805-13-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181204235714.11805-1-miquel.raynal@bootlin.com> References: <20181204235714.11805-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Cc: Kyungmin Park , Miquel Raynal , Steve Rae , TsiChung Liew Subject: [U-Boot] [PATCH v3 12/28] mtd: ensure MTD_RAW_NAND is compiled when ENV_IS_IN_NAND is selected 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" Raw NAND support must be enabled when the environment is in NAND. Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon --- configs/bk4r1_defconfig | 1 + configs/harmony_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/bk4r1_defconfig b/configs/bk4r1_defconfig index 7836a9935c..1df498bff1 100644 --- a/configs/bk4r1_defconfig +++ b/configs/bk4r1_defconfig @@ -35,6 +35,7 @@ CONFIG_NAND_VF610_NFC=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y CONFIG_DM_SPI_FLASH=y CONFIG_MTD=y +CONFIG_MTD_RAW_NAND=y CONFIG_MTD_UBI=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_STMICRO=y diff --git a/configs/harmony_defconfig b/configs/harmony_defconfig index d916d9db94..a8cc8fbadc 100644 --- a/configs/harmony_defconfig +++ b/configs/harmony_defconfig @@ -30,6 +30,7 @@ CONFIG_ENV_IS_IN_NAND=y CONFIG_SPL_DM=y CONFIG_MTD=y CONFIG_DM_MTD=y +CONFIG_MTD_RAW_NAND=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_PCI=y