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: 900548 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="ulWhbJ4D"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40RQ7P4YBgz9s1w for ; Thu, 19 Apr 2018 13:53:05 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id F1037C21F16; 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