From patchwork Mon Nov 10 00:16:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 408632 X-Patchwork-Delegate: iwamatsu@nigauri.org 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 7A6B214010B for ; Mon, 10 Nov 2014 11:18:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 133414B688; Mon, 10 Nov 2014 01:18:03 +0100 (CET) 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 26J4+LwAATbq; Mon, 10 Nov 2014 01:18:02 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 014374B694; Mon, 10 Nov 2014 01:17:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 18E604B661 for ; Mon, 10 Nov 2014 01:17:55 +0100 (CET) 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 ny68Rdmo43V7 for ; Mon, 10 Nov 2014 01:17:55 +0100 (CET) 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 mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by theia.denx.de (Postfix) with ESMTPS id A1C8B4B656 for ; Mon, 10 Nov 2014 01:17:51 +0100 (CET) Received: by mail-pa0-f45.google.com with SMTP id lf10so7070779pab.32 for ; Sun, 09 Nov 2014 16:17:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=9q0WX26jwtbu2KrbeDW5p+8GfNk1lkr/NbxJ7yRUaEc=; b=ErUhvP8c9YW/6Fy+/2O2aEH4VYT/EqtU/eqjeKRxSisC4h514I6Vh/UI4DODolq2XK 7kLZ/dlBpcPhVABluoOxhieh651BYPzUdKTpcSAvEdIn33HKFAZKPg1cEEah3W11Bxwn s505e/uSsKhaJxkyQytasTqcQ0U2yT38t3TvPyKGC7t1+fL0+gy9UJjL5gF4SQUtfZ4h B4kQc24POSlz4Jy+mj2aaSMaN2QjdNFSY6xz2QFWbEjX5vjKWV1Wsvkc28ZYTMwKXMVO J5wfq8xLJJKSX9AFliJiujMMOuHvCnhzQBM23/2QCCLb0Pyth29kl5+GEM8IB+EyGU8P OH3A== X-Gm-Message-State: ALoCoQlmFC6RHfHEBmVoDcY2NuSj8bFj1ckDdrK0K9UH5d0nnQidfvQ8yI/xL9jnHy1LzeKPiKCJ X-Received: by 10.70.44.174 with SMTP id f14mr28811155pdm.38.1415578669713; Sun, 09 Nov 2014 16:17:49 -0800 (PST) Received: from xps-iwamatsu.renesas.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id oh5sm14706827pbc.76.2014.11.09.16.17.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 09 Nov 2014 16:17:48 -0800 (PST) From: Nobuhiro Iwamatsu To: u-boot@lists.denx.de, Nobuhiro Iwamatsu Date: Mon, 10 Nov 2014 09:16:45 +0900 Message-Id: <1415578605-14055-3-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1415578605-14055-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> References: <1415578605-14055-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> Cc: Nobuhiro Iwamatsu Subject: [U-Boot] [PATCH 3/3] arm: rmobile: alt: Remove i2c_init function X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The i2c_init function is no longer necessary. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/alt/alt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c index 68ae937..039cb37 100644 --- a/board/renesas/alt/alt.c +++ b/board/renesas/alt/alt.c @@ -167,7 +167,6 @@ void reset_cpu(ulong addr) u8 val; i2c_set_bus_num(1); /* PowerIC connected to ch1 */ - i2c_init(400000, 0); i2c_read(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1); val |= 0x02; i2c_write(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1);