summaryrefslogtreecommitdiffstats
path: root/include/440_i2c.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-08-01 16:41:48 +0200
committerStefan Roese <stefan@debian.(none)>2005-08-01 16:41:48 +0200
commitc157d8e219694f5c3dea1ed3826668bdc67ca093 (patch)
tree0db7954a0b50e4b5f2a5da2e007ea82a965c6663 /include/440_i2c.h
parent15f36a5efd31fe608b43dc197ebbd80d3cecbe44 (diff)
downloadblackbird-obmc-uboot-c157d8e219694f5c3dea1ed3826668bdc67ca093.tar.gz
blackbird-obmc-uboot-c157d8e219694f5c3dea1ed3826668bdc67ca093.zip
Add support for AMCC PPC440EP/GR eval boards Yosemite and Yellowstone.
Patch by Steven Blakeslee, 27 Jul 2005
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 b0ac592faf..01a5bacaa4 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)
OpenPOWER on IntegriCloud