summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorRichard Retanubun <RichardRetanubun@RuggedCom.com>2010-04-12 15:08:17 -0400
committerHeiko Schocher <hs@denx.de>2010-04-19 07:46:35 +0200
commit26a33504a55e4882520f2e9da96ba6c22badb353 (patch)
tree42000dcd08814c5b5dbbe9438297e22506daa0e4 /README
parent2a72e9ed18d2164eb7fe569119342eb631b568da (diff)
downloadu-boot-imx-26a33504a55e4882520f2e9da96ba6c22badb353.zip
u-boot-imx-26a33504a55e4882520f2e9da96ba6c22badb353.tar.gz
u-boot-imx-26a33504a55e4882520f2e9da96ba6c22badb353.tar.bz2
fsl_i2c: Added a callpoint for i2c_board_late_init
This patch adds a callpoint in i2c_init that allows board specific i2c board initialization (typically for i2c bus reset) that is called after i2c_init operations, allowing the i2c_board_late_init function to use the pre-configured i2c bus speed and slave address.
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 11 insertions, 0 deletions
diff --git a/README b/README
index 99320ab..cf6b898 100644
--- a/README
+++ b/README
@@ -1509,6 +1509,17 @@ The following options need to be configured:
custom i2c_init_board() routine in boards/xxx/board.c
is run early in the boot sequence.
+ CONFIG_SYS_I2C_BOARD_LATE_INIT
+
+ An alternative to CONFIG_SYS_I2C_INIT_BOARD. If this option is
+ defined a custom i2c_board_late_init() routine in
+ boards/xxx/board.c is run AFTER the operations in i2c_init()
+ is completed. This callpoint can be used to unreset i2c bus
+ using CPU i2c controller register accesses for CPUs whose i2c
+ controller provide such a method. It is called at the end of
+ i2c_init() to allow i2c_init operations to setup the i2c bus
+ controller on the CPU (e.g. setting bus speed & slave address).
+
CONFIG_I2CFAST (PPC405GP|PPC405EP only)
This option enables configuration of bi_iic_fast[] flags