From patchwork Sun Jun 3 07:53:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 162483 X-Patchwork-Delegate: sbabic@denx.de 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 B6274B702D for ; Sun, 3 Jun 2012 17:54:38 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 20EF5280C7; Sun, 3 Jun 2012 09:54:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 xXxOFyqWQ5uA; Sun, 3 Jun 2012 09:54:21 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3C7C3280BC; Sun, 3 Jun 2012 09:54:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D4DF6280A9 for ; Sun, 3 Jun 2012 09:54:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 qn1+HaBwbSAT for ; Sun, 3 Jun 2012 09:54: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 mail-gh0-f172.google.com (mail-gh0-f172.google.com [209.85.160.172]) by theia.denx.de (Postfix) with ESMTPS id 33545280BC for ; Sun, 3 Jun 2012 09:54:06 +0200 (CEST) Received: by ghbg16 with SMTP id g16so2947462ghb.3 for ; Sun, 03 Jun 2012 00:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=XNmgm8xsz58hez6RyhWQsKm3rSH+QYUP9/Psm2dmxmU=; b=IvjjTK5gwLMgSgPmTBLAq8A0HVmnRH/voedJuCH2zJxQ3w9ZFJWOYYaAJtnL3F4VkZ 4phCDQN1ZJLmp9umUSld7HBMvdfPHtIfki1nlJX2nYyDMgZpUzo4RP8oQawxOhbhyTjq HysXZIWrCXlsz99BlvkeLWn4+ClB63QaF6eDvuWd19XEGYULK2zM8L7D1HC4deMMhfB9 0dF8h7G2+1xBqpguheoOm4ezwZ1igXsmuchtU5VsHiK233oODkhLYmw4Vx5Qh3hlqJre 5QfGaXHMEG56fs/gyFYOaxQg+OpkXOoZ3rYrLFpgbHg53vDfTd9QmR9K9u/cop7lRLkg mQDA== Received: by 10.236.120.7 with SMTP id o7mr3407758yhh.55.1338710045610; Sun, 03 Jun 2012 00:54:05 -0700 (PDT) Received: from localhost.localdomain ([189.5.6.233]) by mx.google.com with ESMTPS id z9sm25328551yhl.6.2012.06.03.00.54.02 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Jun 2012 00:54:04 -0700 (PDT) From: Fabio Estevam To: u-boot@lists.denx.de Date: Sun, 3 Jun 2012 04:53:29 -0300 Message-Id: <1338710010-13709-5-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1338710010-13709-1-git-send-email-festevam@gmail.com> References: <1338710010-13709-1-git-send-email-festevam@gmail.com> Cc: Fabio Estevam , hs@denx.de Subject: [U-Boot] [PATCH 5/6] mx53loco: Remove CONFIG_SYS_I2C_SLAVE definition X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 From: Fabio Estevam According to include/i2c.h: "/* * Many boards/controllers/drivers don't support an I2C slave interface so * provide a default slave address for them for use in common code. A real * value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does * support a slave interface. */ #ifndef CONFIG_SYS_I2C_SLAVE #define CONFIG_SYS_I2C_SLAVE 0xfe #endif " As the mxc_i2c driver does not support slave mode, there is no need to define CONFIG_SYS_I2C_SLAVE in i.MX board file. Cc: Jason Liu Signed-off-by: Fabio Estevam --- include/configs/mx53loco.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 7d782e2..7c45647 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -92,7 +92,6 @@ #define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_MX53_PORT1 #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_SYS_I2C_SLAVE 0xfe /* PMIC Controller */ #define CONFIG_PMIC