summaryrefslogtreecommitdiff
path: root/include/configs/MPC8540ADS.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-10-20 15:54:48 -0500
committerJon Loeliger <jdl@freescale.com>2006-10-20 15:54:48 -0500
commit3acb7727ce6aa403e938e7cf3761924590bead47 (patch)
tree52c8b88f187e5945af41ff134db0005744dacd1c /include/configs/MPC8540ADS.h
parentf5012827df11ca0c9be1df5f8b153e188dc2fa7c (diff)
parent2047672684cf85cb6f96a1fbc993180aaaf19a99 (diff)
downloadu-boot-imx-3acb7727ce6aa403e938e7cf3761924590bead47.zip
u-boot-imx-3acb7727ce6aa403e938e7cf3761924590bead47.tar.gz
u-boot-imx-3acb7727ce6aa403e938e7cf3761924590bead47.tar.bz2
Merge branch 'i2c'
Diffstat (limited to 'include/configs/MPC8540ADS.h')
-rw-r--r--include/configs/MPC8540ADS.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index 31ffbaf..74a84f4 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -312,12 +312,16 @@
#define CFG_64BIT_VSPRINTF 1
#define CFG_64BIT_STRTOUL 1
-/* I2C */
-#define CONFIG_HARD_I2C /* I2C with hardware support*/
+/*
+ * I2C
+ */
+#define CONFIG_FSL_I2C /* Use FSL common I2C driver */
+#define CONFIG_HARD_I2C /* I2C with hardware support*/
#undef CONFIG_SOFT_I2C /* I2C bit-banged */
#define CFG_I2C_SPEED 400000 /* I2C speed and slave address */
#define CFG_I2C_SLAVE 0x7F
#define CFG_I2C_NOPROBES {0x69} /* Don't probe these addrs */
+#define CFG_I2C_OFFSET 0x3000
/* RapidIO MMU */
#define CFG_RIO_MEM_BASE 0xc0000000 /* base address */