public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/6] mx53ard: Remove CONFIG_SYS_I2C_SLAVE definition
Date: Sun,  3 Jun 2012 04:53:27 -0300	[thread overview]
Message-ID: <1338710010-13709-3-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1338710010-13709-1-git-send-email-festevam@gmail.com>

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 <fabio.estevam@freescale.com>
---
 include/configs/mx53ard.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index f48a41e..f879edc 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -52,7 +52,6 @@
 #define CONFIG_I2C_MXC
 #define CONFIG_SYS_I2C_MX53_PORT2
 #define CONFIG_SYS_I2C_SPEED            100000
-#define CONFIG_SYS_I2C_SLAVE            0xfe
 
 /* MMC Configs */
 #define CONFIG_FSL_ESDHC
-- 
1.7.1

  parent reply	other threads:[~2012-06-03  7:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-03  7:53 [U-Boot] [PATCH 1/6] imx31_phycore: Remove CONFIG_SYS_I2C_SLAVE definition Fabio Estevam
2012-06-03  7:53 ` [U-Boot] [PATCH 2/6] mx35pdk: " Fabio Estevam
2012-06-03  7:53 ` Fabio Estevam [this message]
2012-06-03  7:53 ` [U-Boot] [PATCH 4/6] mx53evk: " Fabio Estevam
2012-06-03  7:53 ` [U-Boot] [PATCH 5/6] mx53loco: " Fabio Estevam
2012-06-03  7:53 ` [U-Boot] [PATCH 6/6] mx53smd: " Fabio Estevam
2012-06-15 14:43 ` [U-Boot] [PATCH 1/6] imx31_phycore: " Stefano Babic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1338710010-13709-3-git-send-email-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox