From patchwork Sun Jun 3 07:53:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 162479 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 6198CB702D for ; Sun, 3 Jun 2012 17:53:56 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E981D2809A; Sun, 3 Jun 2012 09:53:54 +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 txghEoLdzNn6; Sun, 3 Jun 2012 09:53:54 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B70D028093; Sun, 3 Jun 2012 09:53:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C3B7B28093 for ; Sun, 3 Jun 2012 09:53:51 +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 QUNTDOBHOMk6 for ; Sun, 3 Jun 2012 09:53:51 +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-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by theia.denx.de (Postfix) with ESMTPS id 0D7D028090 for ; Sun, 3 Jun 2012 09:53:49 +0200 (CEST) Received: by yenq13 with SMTP id q13so2588899yen.3 for ; Sun, 03 Jun 2012 00:53:48 -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; bh=zMAStNBAMSs4CvUUbs97GHq7SoeQtizthCSFFsJEFzU=; b=K02qUpW/gekrAelKz1GMFofq/shNxKKLKqFJYZmW6DcSkUpcYtCKLsiCQjCBrCqqqE w4r25QijOTkEZO5bHt/0rciMp5dkG2NhEQlOcMs0PjJl5GH0OBo3pKFaxVNZwjzFRil5 NiHDe07H8LywVEBCzCW5NvuGTsIgALsciYWGJAaG5ADjtKL29pPGhYvTmK44lzernwYl oIKeN8wJvdkbaAG/g81ftVnS/ucYiqblxkADpJ+KHvSW+8Wbj1nlRxHYn/gN8cqJKUjr B3jenJ2SDcewadOlPFRSHpD7DTSYND51SqBKnAvSBddoqs/mq5sjVvD8KYJwgO7yy7xD jNOg== Received: by 10.236.73.136 with SMTP id v8mr3360293yhd.103.1338710028378; Sun, 03 Jun 2012 00:53:48 -0700 (PDT) Received: from localhost.localdomain ([189.5.6.233]) by mx.google.com with ESMTPS id z9sm25328551yhl.6.2012.06.03.00.53.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Jun 2012 00:53:47 -0700 (PDT) From: Fabio Estevam To: u-boot@lists.denx.de Date: Sun, 3 Jun 2012 04:53:25 -0300 Message-Id: <1338710010-13709-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 Cc: Fabio Estevam , hs@denx.de Subject: [U-Boot] [PATCH 1/6] imx31_phycore: 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. Signed-off-by: Fabio Estevam --- include/configs/imx31_phycore.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h index 3153eb5..b3244b9 100644 --- a/include/configs/imx31_phycore.h +++ b/include/configs/imx31_phycore.h @@ -56,7 +56,6 @@ #define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_MX31_PORT2 #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_SYS_I2C_SLAVE 0xfe #define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE