From patchwork Thu Apr 19 03:52:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 133692 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp174874ljf; Wed, 18 Apr 2018 20:52:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/it9qomID5eHUWKJct8FjwJwCNLY9kVUAt5ZV5dMiv24UN7XBY2ognLUnNSWzRWStpdGCE X-Received: by 10.80.174.35 with SMTP id c32mr6269377edd.131.1524109973936; Wed, 18 Apr 2018 20:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524109973; cv=none; d=google.com; s=arc-20160816; b=0zoD+n3Mbx06FYklTwyXCx86YKMB6L/ixjU0koSK2paWhUTIILZ1W3q3UOR8fM4poF +aAo2FtJIB7nJ/iUpY0+mNZwWru/eyxlvYbtOI6dHcU902fxyvVmEXrR4GL2Q/O0+Eru hPTGo1CdAH50ZJ/lnOqxy16IxspaAjlzMzUNAZHGjd0HOPDM9wFz5YYPaMt6dTgGFMd+ rXyd4qaGyT1LfLu6OSJpuc+MSKGL8tSp0mI7iPUQqoexqkTzi+5TZSIuxW6CNPrijpyw z7HAYQUzwgHI697XL2GMd/b2PeOQKmvvSFA/GoVcWAczjNpaKFBc2RLHE6DzPAte//C1 BGBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=bUYZbui5Ft2a68VHsb25QfKTsL9B8xpXBFcI9NhZlZ8=; b=sJhIGR3LJBVeCTlZjvX9OpSbKG9SdQ2a6G235GwS16LyY9/g4+PQTxU6YkIc6ivRD4 LcHX4s+fLCA2jXzM98TmclIDFkngbgpfh6RzmIfIsMWBfjqGezja1QHhkpscuslE26IZ iUx02vx2plnmBPUgoBU0+3P05m7N0yFJ4Zq5hIjzHx3tVnbiulxv8Atr+qKlcg6BzF9d SLD3aQwHldGZ9xeC0/fGuJQZG2/J5QuP6z8kV9jsgq0Zy3jrZucArZ6CWeORWGZhSx0u xBJWT0B2GEb1nPrAVDYGXAuVo66qISCccC+sDOflGPBh+uOuK12xBwna4gMDrAfOHw5Q 3L3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=ulWhbJ4D; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id o6si2655590edj.73.2018.04.18.20.52.53; Wed, 18 Apr 2018 20:52:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=ulWhbJ4D; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 6D425C21F58; Thu, 19 Apr 2018 03:52:51 +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 2C373C21E89; Thu, 19 Apr 2018 03:52:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1827EC21E89; Thu, 19 Apr 2018 03:52:47 +0000 (UTC) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by lists.denx.de (Postfix) with ESMTPS id BD2AAC21C93 for ; Thu, 19 Apr 2018 03:52:46 +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 w3J3q8jq002552; Thu, 19 Apr 2018 12:52:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w3J3q8jq002552 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1524109928; bh=Wgo3nRw54DfdUKmPLIS90gFH+8DDq+v4lhZXO6zcM8I=; h=From:To:Cc:Subject:Date:From; b=ulWhbJ4DN4UIxcxG22/e8bBTiV9Vz7Ct7QEpduGhLnJqiOT2jXv3CXXM8kEhwJrFT 3LU/fIWNfas+NP3NAqQBDC9D5SD9JXycl+FoXaVtbm5yXxp8vJqi362j09W67Pgepm LsezS57Dl/btEV54zC/XsSIRjn9jFJ2NxaNbO/GHzR9kti7QgCGS7vGd85yf8sEUtc W1o02FdutRASCXPNP/GfsQk0ZnqJAbLvW8/ybJSRsFHR1cnSeEUXS1TeXk4HzOihvC 6Tt2UoF1WN7MMbwOJ+ssOK6C66EWBmPqO/N1ToBwv5KSpmMT8sUx6icQXo8So7wpYI gWnnTUI12fWXw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 19 Apr 2018 12:52:06 +0900 Message-Id: <1524109926-2282-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Tom Rini Subject: [U-Boot] [PATCH] distro: use imply to default to DISTRO_DEFAULTS 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" The default of DISTRO_DEFAULTS is messy. Using the 'imply' keyword is equivalent and cleaner. Signed-off-by: Masahiro Yamada --- Kconfig | 5 ----- arch/arm/Kconfig | 4 ++++ arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Kconfig b/Kconfig index 6957097..3bf95c1 100644 --- a/Kconfig +++ b/Kconfig @@ -68,11 +68,6 @@ config CC_COVERAGE config DISTRO_DEFAULTS bool "Select defaults suitable for booting general purpose Linux distributions" - default y if ARCH_SUNXI || TEGRA - default y if ARCH_LS2080A - default y if ARCH_MESON - default y if ARCH_ROCKCHIP - default n imply USE_BOOTCOMMAND select CMD_BOOTZ if ARM && !ARM64 select CMD_BOOTI if ARM64 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7212fc5..4848954 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -581,6 +581,7 @@ config ARCH_OMAP2PLUS config ARCH_MESON bool "Amlogic Meson" + imply DISTRO_DEFAULTS help Support for the Meson SoC family developed by Amlogic Inc., targeted at media players and tablet computers. We currently @@ -720,6 +721,7 @@ config ARCH_SUNXI select USB_KEYBOARD if DISTRO_DEFAULTS select USE_TINY_PRINTF imply CMD_GPT + imply DISTRO_DEFAULTS imply FAT_WRITE imply OF_LIBFDT_OVERLAY imply PRE_CONSOLE_BUFFER @@ -780,6 +782,7 @@ config ARCH_ZYNQMP config TEGRA bool "NVIDIA Tegra" + imply DISTRO_DEFAULTS imply FAT_WRITE config TARGET_VEXPRESS64_AEMV8A @@ -1178,6 +1181,7 @@ config ARCH_ROCKCHIP select DM_REGULATOR select ENABLE_ARM_SOC_BOOT0_HOOK imply CMD_FASTBOOT + imply DISTRO_DEFAULTS imply FASTBOOT imply FAT_WRITE imply USB_FUNCTION_FASTBOOT diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig index c4a96d4..7edc06d 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig @@ -167,6 +167,7 @@ config ARCH_LS2080A select SYS_I2C_MXC_I2C2 select SYS_I2C_MXC_I2C3 select SYS_I2C_MXC_I2C4 + imply DISTRO_DEFAULTS imply PANIC_HANG config FSL_LSCH2