From patchwork Tue Apr 25 04:42:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 98176 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1780285qgf; Mon, 24 Apr 2017 21:42:58 -0700 (PDT) X-Received: by 10.80.153.143 with SMTP id m15mr3417047edb.145.1493095378797; Mon, 24 Apr 2017 21:42:58 -0700 (PDT) Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id g19si5063774edf.151.2017.04.24.21.42.58; Mon, 24 Apr 2017 21:42:58 -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; 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 61F98C21C25; Tue, 25 Apr 2017 04:42: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 02B4AC21C5A; Tue, 25 Apr 2017 04:42:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 33807C21C25; Tue, 25 Apr 2017 04:42:31 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id A0B9FC21C2F for ; Tue, 25 Apr 2017 04:42:29 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id v3P4gBNc016213; Tue, 25 Apr 2017 13:42:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v3P4gBNc016213 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1493095332; bh=r0aActrJr4uKSf09lI4Tjm9qrEmu+8Dk8qMjpzY4YB4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q9UDj5wnBDgauaoTWcGZQxLPi4n3W7PA0xBjZgISSlKoHbaKaxnOv3dWQLUlMmPWz o9/phJdq0v9PQXXdpnKSXWuOVRmIc8rRZoIzKhOIoiOXdLFDXIRtKoQ6nl/7HiyFlK Rk3w6jQTgPAdusya8tXXNL6ej9l4B24uJf9PxbAKTu2o/Tk5+uHncAEUIfWmBCGuLt tZkEsC6sFaeS3UvTfaw9c/482QFnGw/1gpDhfoFNGCkxbBiK8IVj4wtQhv9mM8YOCw rFlp4uaXIlS99KWpq0HrGwruRXw3n1uXaYKgjP2oZ+3W05RhlnDGdeE+ZhBupIqs/i teW+JvRbXKH4A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de, Tom Rini Date: Tue, 25 Apr 2017 13:42:07 +0900 Message-Id: <1493095327-25345-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1493095327-25345-1-git-send-email-yamada.masahiro@socionext.com> References: <1493095327-25345-1-git-send-email-yamada.masahiro@socionext.com> Cc: Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH 2/2] ARM: sunxi: use imply instead of bare default y 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" Fix annoying config redefines in SoC/board level Kconfig. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 8 ++++++++ arch/arm/mach-sunxi/Kconfig | 26 -------------------------- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b54466a..cc8e0a6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -675,6 +675,14 @@ config ARCH_SUNXI select USB_STORAGE if DISTRO_DEFAULTS select USB_KEYBOARD if DISTRO_DEFAULTS select USE_TINY_PRINTF + imply PRE_CONSOLE_BUFFER + imply SPL_GPIO_SUPPORT + imply SPL_LIBCOMMON_SUPPORT + imply SPL_LIBDISK_SUPPORT + imply SPL_LIBGENERIC_SUPPORT + imply SPL_MMC_SUPPORT if GENERIC_MMC + imply SPL_POWER_SUPPORT + imply SPL_SERIAL_SUPPORT config TARGET_TS4600 bool "Support TS4600" diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index a667c9e..97d1713 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -3,32 +3,6 @@ if ARCH_SUNXI config IDENT_STRING default " Allwinner Technology" -# FIXME: Should not redefine these Kconfig symbols -config PRE_CONSOLE_BUFFER - default y - -config SPL_GPIO_SUPPORT - default y - -config SPL_LIBCOMMON_SUPPORT - default y - -config SPL_LIBDISK_SUPPORT - default y - -config SPL_LIBGENERIC_SUPPORT - default y - -config SPL_MMC_SUPPORT - depends on SPL && GENERIC_MMC - default y - -config SPL_POWER_SUPPORT - default y - -config SPL_SERIAL_SUPPORT - default y - config SUNXI_HIGH_SRAM bool default n