From patchwork Wed Nov 28 23:07:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1004914 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 434xL43RbWz9s3C for ; Thu, 29 Nov 2018 10:14:04 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 3600CC22361; Wed, 28 Nov 2018 23:13: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 3D820C22392; Wed, 28 Nov 2018 23:08:37 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 89677C2235A; Wed, 28 Nov 2018 23:08:34 +0000 (UTC) Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 9BE1DC22363 for ; Wed, 28 Nov 2018 23:08:15 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id 20F5B20791; Thu, 29 Nov 2018 00:08:15 +0100 (CET) Received: from localhost.localdomain (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id 7136E20714; Thu, 29 Nov 2018 00:08:14 +0100 (CET) From: Miquel Raynal To: u-boot@lists.denx.de Date: Thu, 29 Nov 2018 00:07:45 +0100 Message-Id: <20181128230800.13292-10-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 09/24] mtd: ensure MTD is compiled when UBI is used 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" MTD must be enabled when UBI is used, this is mandatory and will later be reflected thanks to a "depends on" in Kconfig. But first, defconfigs needs to be fixed. Signed-off-by: Miquel Raynal --- configs/gardena-smart-gateway-mt7688-ram_defconfig | 1 + configs/gardena-smart-gateway-mt7688_defconfig | 1 + configs/harmony_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/gardena-smart-gateway-mt7688-ram_defconfig b/configs/gardena-smart-gateway-mt7688-ram_defconfig index d9f75570bb..7bd23bb1a1 100644 --- a/configs/gardena-smart-gateway-mt7688-ram_defconfig +++ b/configs/gardena-smart-gateway-mt7688-ram_defconfig @@ -37,6 +37,7 @@ CONFIG_DM_GPIO=y CONFIG_LED=y CONFIG_LED_BLINK=y CONFIG_LED_GPIO=y +CONFIG_MTD=y CONFIG_DM_MTD=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_GIGADEVICE=y diff --git a/configs/gardena-smart-gateway-mt7688_defconfig b/configs/gardena-smart-gateway-mt7688_defconfig index ca63358f6c..0ecffe608f 100644 --- a/configs/gardena-smart-gateway-mt7688_defconfig +++ b/configs/gardena-smart-gateway-mt7688_defconfig @@ -40,6 +40,7 @@ CONFIG_DM_GPIO=y CONFIG_LED=y CONFIG_LED_BLINK=y CONFIG_LED_GPIO=y +CONFIG_MTD=y CONFIG_DM_MTD=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_GIGADEVICE=y diff --git a/configs/harmony_defconfig b/configs/harmony_defconfig index 8eeb362db8..d916d9db94 100644 --- a/configs/harmony_defconfig +++ b/configs/harmony_defconfig @@ -28,6 +28,7 @@ CONFIG_OF_LIVE=y CONFIG_DEFAULT_DEVICE_TREE="tegra20-harmony" CONFIG_ENV_IS_IN_NAND=y CONFIG_SPL_DM=y +CONFIG_MTD=y CONFIG_DM_MTD=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_FASTMAP=y