From patchwork Mon Jul 9 06:12:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 941112 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=socionext.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="EBQ0SnjA"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41PFQW2VhSz9rxs for ; Mon, 9 Jul 2018 16:13:55 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CFAACC21E52; Mon, 9 Jul 2018 06: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=T_DKIM_INVALID 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 B48EFC21DB6; Mon, 9 Jul 2018 06:13:50 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1A8C5C21DB5; Mon, 9 Jul 2018 06:13:49 +0000 (UTC) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by lists.denx.de (Postfix) with ESMTPS id 1FBE4C21DB6 for ; Mon, 9 Jul 2018 06:13:47 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w696DGn5005521; Mon, 9 Jul 2018 15:13:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w696DGn5005521 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531116796; bh=f1wDPHSk6ynO+lqB+RMLJVuphCDnhDhWBmNz4MEHnPI=; h=From:To:Cc:Subject:Date:From; b=EBQ0SnjA4bfzgcWhwg8WfudbsOAE6C3SaJ6ptAemgHLYrxavoGmsJONRwOK9DIxwN xuDpyZnqcVuou9s4NOHou5rnLq1hGpfSVpadJkeF7q+5VmK/0HuF9dgw4jtHmiB173 /IzyoJP5KQn07JygM+rMa3xHB0QkOxIejyjAjQ6Ix9AbWxdkAuowuMN9vbuHfGumAH 5/lxfgDNbV/Jq6dwCoTK50Yy52vEmzcxEITchRlUbNJ+M/1mSGP7whGLmix024D/gc lnmSrSYNYMjIJR/BhuH6TArigJX6XUYzHzYRc5jrhc9pE4SouEgB2W5Xr/lXJQSVsq I2IGxfEdoWNpw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 9 Jul 2018 15:12:37 +0900 Message-Id: <1531116757-5995-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Joe Hershberger , Maxime Ripard Subject: [U-Boot] [PATCH] cmd: ubi: change 'default y' for SUNXI to 'imply' in Kconfig 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" It is not preferred to put SUNXI-specific code in the common place. Change it to 'imply' property of ARCH_SUNXI. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 1 + cmd/Kconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7d394f2..a6ce155 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -796,6 +796,7 @@ config ARCH_SUNXI select USB_KEYBOARD if DISTRO_DEFAULTS select USE_TINY_PRINTF imply CMD_GPT + imply CMD_UBI if NAND imply DISTRO_DEFAULTS imply FAT_WRITE imply OF_LIBFDT_OVERLAY diff --git a/cmd/Kconfig b/cmd/Kconfig index aec2090..159ebaa 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1792,7 +1792,6 @@ config CMD_UBI select CRC32 select MTD_UBI select CMD_MTDPARTS - default y if NAND_SUNXI help UBI is a software layer above MTD layer which admits use of LVM-like logical volumes on top of MTD devices, hides some complexities of