diff options
| author | <m8@hekate.semihalf.com> | 2005-08-12 21:16:13 +0200 | 
|---|---|---|
| committer | <m8@hekate.semihalf.com> | 2005-08-12 21:16:13 +0200 | 
| commit | d4f5c72896b6b47cae276f49081a801491be6838 (patch) | |
| tree | fdafe6a77b1226cf401a007b7b37393699d41814 /common/cmd_i2c.c | |
| parent | 6df6d38d2d59ba2964e9ee33aa559707a6c1c4b7 (diff) | |
| download | olio-uboot-2014.01-d4f5c72896b6b47cae276f49081a801491be6838.tar.xz olio-uboot-2014.01-d4f5c72896b6b47cae276f49081a801491be6838.zip | |
FRAM memory access optimization.
Diffstat (limited to 'common/cmd_i2c.c')
| -rw-r--r-- | common/cmd_i2c.c | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 9c02ceb15..2e44c7fde 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); |