diff options
author | Yuan Yao <yao.yuan@nxp.com> | 2016-06-08 18:24:51 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-06-10 13:44:58 -0700 |
commit | 9d10c2d3fe6852501a4c43853fe3d2469903a2bb (patch) | |
tree | 11c10d005f12676fdadb55fed1952cf9017814ae /drivers/i2c/i2c_core.c | |
parent | 30677deefdf57a8a2d12a766117ea861ca38f52c (diff) | |
download | u-boot-imx-9d10c2d3fe6852501a4c43853fe3d2469903a2bb.zip u-boot-imx-9d10c2d3fe6852501a4c43853fe3d2469903a2bb.tar.gz u-boot-imx-9d10c2d3fe6852501a4c43853fe3d2469903a2bb.tar.bz2 |
drivers: i2c: mxc: Add early init
Add early i2c init function with conservative divider when the exact
clock rate is not available.
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/i2c/i2c_core.c')
-rw-r--r-- | drivers/i2c/i2c_core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/i2c/i2c_core.c b/drivers/i2c/i2c_core.c index 41cc3b8..16b1aba 100644 --- a/drivers/i2c/i2c_core.c +++ b/drivers/i2c/i2c_core.c @@ -233,6 +233,11 @@ __weak void i2c_init_board(void) { } +/* implement possible for i2c specific early i2c init */ +__weak void i2c_early_init_f(void) +{ +} + /* * i2c_init_all(): * |