summaryrefslogtreecommitdiff
path: root/include/440_i2c.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2005-08-02 13:53:07 -0500
committerJon Loeliger <jdl@freescale.com>2005-08-02 13:53:07 -0500
commit4b1d95d96a39a71eddd088bb5e0e9e699035c9bf (patch)
tree57e2d52b0636c7299992e869fa0b0ee4da7ca4d2 /include/440_i2c.h
parentde1d0a69956a63cea6a62043ae5d5afb584efe93 (diff)
parent095b8a3798f1c6cd618092899e783dc2ee0d23f5 (diff)
downloadu-boot-imx-4b1d95d96a39a71eddd088bb5e0e9e699035c9bf.zip
u-boot-imx-4b1d95d96a39a71eddd088bb5e0e9e699035c9bf.tar.gz
u-boot-imx-4b1d95d96a39a71eddd088bb5e0e9e699035c9bf.tar.bz2
Merge with rsync://git-user@source.denx.net/git/u-boot.git
Diffstat (limited to 'include/440_i2c.h')
-rw-r--r--include/440_i2c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/440_i2c.h b/include/440_i2c.h
index b0ac592..9fdf7d8 100644
--- a/include/440_i2c.h
+++ b/include/440_i2c.h
@@ -1,7 +1,11 @@
#ifndef _440_i2c_h_
#define _440_i2c_h_
+#if defined(CONFIG_440_EP) || defined(CONFIG_440_GR)
+#define I2C_BASE_ADDR (CFG_PERIPHERAL_BASE + 0x00000700)
+#else
#define I2C_BASE_ADDR (CFG_PERIPHERAL_BASE + 0x00000400)
+#endif /*CONFIG_440_EP CONFIG_440_GR*/
#define I2C_REGISTERS_BASE_ADDRESS I2C_BASE_ADDR
#define IIC_MDBUF (I2C_REGISTERS_BASE_ADDRESS+IICMDBUF)