From patchwork Mon Sep 5 13:29:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julian Scheel X-Patchwork-Id: 665820 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3sSWFS0J35z9sBX for ; Mon, 5 Sep 2016 23:45:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 837344BA3B; Mon, 5 Sep 2016 15:45:13 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ia-IrEi8bZCL; Mon, 5 Sep 2016 15:45:13 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2D9D24B68A; Mon, 5 Sep 2016 15:43:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1013D4B951 for ; Mon, 5 Sep 2016 15:37:16 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5HwOb8G2Kuwo for ; Mon, 5 Sep 2016 15:37:11 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from web01.jusst.de (jusst.de [188.40.114.84]) by theia.denx.de (Postfix) with ESMTPS id 6A9894B98B for ; Mon, 5 Sep 2016 15:36:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by web01.jusst.de (Postfix) with ESMTP id 059411B02793; Mon, 5 Sep 2016 15:29:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at web01.jusst.de Received: from web01.jusst.de ([127.0.0.1]) by localhost (web01.jusst.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1OsWh_n_h2vj; Mon, 5 Sep 2016 15:29:58 +0200 (CEST) Received: from avionic-0108.net.jusst.de (unknown [87.138.236.184]) (Authenticated sender: julian@jusst.de) by web01.jusst.de (Postfix) with ESMTPSA id 32E611B00ABF; Mon, 5 Sep 2016 15:29:58 +0200 (CEST) From: Julian Scheel To: twarren@nvidia.com, swarren@wwwdotorg.org, u-boot@lists.denx.de, treding@nvidia.com, alban.bedel@avionic-design.de Date: Mon, 5 Sep 2016 15:29:49 +0200 Message-Id: <20160905132952.27280-2-julian@jusst.de> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160905132952.27280-1-julian@jusst.de> References: <20160905132952.27280-1-julian@jusst.de> Subject: [U-Boot] [PATCHv5 1/4] Revert "tegra: Add support for setting up a as3722 PMIC" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" This reverts commit 346451b5888c4663bccef4c5203357319aa41f99. The pmic shall be initialised in board specific code, as it is done for jetson-tk1 and meerkat. It can't be assumed that all boards have the pmic on the same i2c bus. Change-Id: I02d279b63ca72e143fadd85d4df68a929a658a12 Signed-off-by: Julian Scheel Reviewed-by: Alban Bedel --- arch/arm/mach-tegra/board2.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c index f08af72..af5095e 100644 --- a/arch/arm/mach-tegra/board2.c +++ b/arch/arm/mach-tegra/board2.c @@ -7,7 +7,6 @@ #include #include -#include #include #include #include @@ -37,7 +36,6 @@ #include #endif #include -#include #include #include #include "emc.h" @@ -147,11 +145,6 @@ int board_init(void) debug("Memory controller init failed: %d\n", err); # endif # endif /* CONFIG_TEGRA_PMU */ -#ifdef CONFIG_AS3722_POWER - err = as3722_init(NULL); - if (err && err != -ENODEV) - return err; -#endif #endif /* CONFIG_SYS_I2C_TEGRA */ #ifdef CONFIG_USB_EHCI_TEGRA