summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-07-24 20:41:28 +0200
committerWolfgang Denk <wd@denx.de>2010-07-24 20:41:28 +0200
commit4ae0c2dc99e339324a4b67c124525087cc3d0be7 (patch)
tree3d85b2de1e33a9b3a6091962c1f5f1e5ccb4f8f3 /README
parent96623171423a94092cde80642328fda58a92c894 (diff)
parent793b5726f7e998c7cec93ea5ee7910dd6ddb1e5e (diff)
downloadu-boot-imx-4ae0c2dc99e339324a4b67c124525087cc3d0be7.zip
u-boot-imx-4ae0c2dc99e339324a4b67c124525087cc3d0be7.tar.gz
u-boot-imx-4ae0c2dc99e339324a4b67c124525087cc3d0be7.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Diffstat (limited to 'README')
-rw-r--r--README10
1 files changed, 10 insertions, 0 deletions
diff --git a/README b/README
index a9c98f2..c9fb284 100644
--- a/README
+++ b/README
@@ -1495,6 +1495,16 @@ The following options need to be configured:
#define I2C_DELAY udelay(2)
+ CONFIG_SOFT_I2C_GPIO_SCL / CONFIG_SOFT_I2C_GPIO_SDA
+
+ If your arch supports the generic GPIO framework (asm/gpio.h),
+ then you may alternatively define the two GPIOs that are to be
+ used as SCL / SDA. Any of the previous I2C_xxx macros will
+ have GPIO-based defaults assigned to them as appropriate.
+
+ You should define these to the GPIO value as given directly to
+ the generic GPIO functions.
+
CONFIG_SYS_I2C_INIT_BOARD
When a board is reset during an i2c bus transfer