From patchwork Fri Mar 15 17:11:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1057142 X-Patchwork-Delegate: promsoft@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=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="uhciGORZ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44LXGd4LXxz9s3l for ; Sat, 16 Mar 2019 04:13:27 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 53408C221B9; Fri, 15 Mar 2019 17:13:22 +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=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI, 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 CA962C2212D; Fri, 15 Mar 2019 17:13:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id EFF28C22131; Fri, 15 Mar 2019 17:13:18 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by lists.denx.de (Postfix) with ESMTPS id CE6ECC22108 for ; Fri, 15 Mar 2019 17:13:17 +0000 (UTC) Received: from localhost.localdomain (unknown [194.230.155.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D351920854; Fri, 15 Mar 2019 17:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552669995; bh=rUCA+RAoJzMsXEwPPGcWCQoD3pgZ1Wx/gHBERV8Vkk4=; h=From:To:Cc:Subject:Date:From; b=uhciGORZYizRSV6rUi+0hz6LKuXsdaWIAkl7lNgmgBHOb3CetqsBNtzo85kjCGmPa 9MO1RLFkfn1cHwKGzS84dRQAmrq9zXavoWEEQPpG0N5s1Jq4nPm4TKt02A/wI/EN/T k3PlW/I5j+j3Z+hg1/5rjiuhLYg5AMYoWDZEM9ZM= From: Krzysztof Kozlowski To: Simon Glass , Krzysztof Kozlowski , u-boot@lists.denx.de Date: Fri, 15 Mar 2019 18:11:56 +0100 Message-Id: <20190315171157.21744-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Cc: Tom Rini Subject: [U-Boot] [PATCH 1/2] arm: exynos: arndale: Remove unused CONFIG_DM_I2C_COMPAT 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 CONFIG_DM_I2C_COMPAT was introduced in include/configs/exynos5-common.h in commit 189d80166b31 ("exynos5: enable dm i2c") and then it propagated up to configs/arndale_defconfig. However since beginning the Arndale board (Exynos5250) was not using I2C. In fact, the Arndale board is not configuring its PMIC (S5M8767) which uses I2C bus. This setting can be thus safely removed to fix build warning: This board uses CONFIG_DM_I2C_COMPAT. Please remove (possibly in a subsequent patch in your series) before sending patches to the mailing list. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Simon Glass --- Not tested on Arndale board. Testing is welcomed. --- configs/arndale_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/arndale_defconfig b/configs/arndale_defconfig index 24422645cbac..2f218e8bb64c 100644 --- a/configs/arndale_defconfig +++ b/configs/arndale_defconfig @@ -24,7 +24,6 @@ CONFIG_CMD_SOUND=y CONFIG_CMD_EXT4_WRITE=y CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale" CONFIG_ENV_IS_IN_MMC=y -CONFIG_DM_I2C_COMPAT=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_S5P=y From patchwork Fri Mar 15 17:11:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1057143 X-Patchwork-Delegate: promsoft@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=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="uu9A8cL1"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44LXH01DZLz9s3l for ; Sat, 16 Mar 2019 04:13:47 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id AFA41C2213F; Fri, 15 Mar 2019 17:13:38 +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=-2.7 required=5.0 tests=RCVD_IN_DNSWL_HI, TVD_SUBJ_WIPE_DEBT, 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 2BEADC2214E; Fri, 15 Mar 2019 17:13:21 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 144EFC22108; Fri, 15 Mar 2019 17:13:18 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by lists.denx.de (Postfix) with ESMTPS id 4D41EC2212D for ; Fri, 15 Mar 2019 17:13:18 +0000 (UTC) Received: from localhost.localdomain (unknown [194.230.155.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C4CA9218D0; Fri, 15 Mar 2019 17:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552669997; bh=I3HXNBKEuv4br0MyxXOESns2F/6keGyFyImjA9zobzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uu9A8cL1Uj3VcTjfGKU86cXmHKlfk2VU8P23yIPa3IDk58W+aGIbNwnk+vtbsPdzR UrTPSvokrWfCKekyX6Xmda+gEUBGFCcdntyZq3uBZwHHWsIOQZetPROJBhHt+5zeHg vxtKd88WyIVREOz8j2TO6cUlQn4M+1JDMjiIX8ZQ= From: Krzysztof Kozlowski To: Simon Glass , Krzysztof Kozlowski , u-boot@lists.denx.de Date: Fri, 15 Mar 2019 18:11:57 +0100 Message-Id: <20190315171157.21744-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190315171157.21744-1-krzk@kernel.org> References: <20190315171157.21744-1-krzk@kernel.org> Cc: Tom Rini Subject: [U-Boot] [PATCH 2/2] arm: exynos: arndale: Remove unused CONFIG_POWER and CONFIG_POWER_I2C 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 CONFIG_POWER and CONFIG_POWER_I2C were introduced in include/configs/exynos5-common.h in commit 19bd3aaa5991 ("exynos5: fix build break by adding CONFIG_POWER") and then it propagated up to include/configs/arndale.h. However before that commit, there was no build break at all on Arndale and SMDK5250 boards. It seems the commit fixed nothing and just added unused defines. In fact, the Arndale board is not configuring its PMIC (S5M8767) which uses I2C bus. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Simon Glass --- Not tested on Arndale board. Testing is welcomed. --- include/configs/arndale.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index 06b02ce90a94..3d0ce471a42c 100644 --- a/include/configs/arndale.h +++ b/include/configs/arndale.h @@ -32,10 +32,6 @@ #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK -/* PMIC */ -#define CONFIG_POWER -#define CONFIG_POWER_I2C - #define CONFIG_PREBOOT #define CONFIG_S5P_PA_SYSRAM 0x02020000 @@ -44,8 +40,4 @@ /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */ #define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000 -/* Power */ -#define CONFIG_POWER -#define CONFIG_POWER_I2C - #endif /* __CONFIG_H */