summaryrefslogtreecommitdiff
path: root/common/cmd_i2c.c
diff options
context:
space:
mode:
author <m8@hekate.semihalf.com>2005-08-12 21:16:13 +0200
committer <m8@hekate.semihalf.com>2005-08-12 21:16:13 +0200
commitd4f5c72896b6b47cae276f49081a801491be6838 (patch)
treefdafe6a77b1226cf401a007b7b37393699d41814 /common/cmd_i2c.c
parent6df6d38d2d59ba2964e9ee33aa559707a6c1c4b7 (diff)
downloadu-boot-imx-d4f5c72896b6b47cae276f49081a801491be6838.zip
u-boot-imx-d4f5c72896b6b47cae276f49081a801491be6838.tar.gz
u-boot-imx-d4f5c72896b6b47cae276f49081a801491be6838.tar.bz2
FRAM memory access optimization.
Diffstat (limited to 'common/cmd_i2c.c')
-rw-r--r--common/cmd_i2c.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c
index 9c02ceb..2e44c7f 100644
--- a/common/cmd_i2c.c
+++ b/common/cmd_i2c.c
@@ -295,7 +295,13 @@ int do_i2c_mw ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
* chip doesn't respond. This apparently isn't a
* universal feature so we don't take advantage of it.
*/
+/*
+ * No write delay with FRAM devices.
+ */
+#if !defined(CFG_I2C_FRAM)
udelay(11000);
+#endif
+
#if 0
for(timeout = 0; timeout < 10; timeout++) {
udelay(2000);