git.openpandora.org
/
pandora-u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Patch by Martin Krause, 17 Jul 2003:
[pandora-u-boot.git]
/
common
/
cmd_i2c.c
diff --git
a/common/cmd_i2c.c
b/common/cmd_i2c.c
index
3856f3d
..
6a9c77a
100644
(file)
--- a/
common/cmd_i2c.c
+++ b/
common/cmd_i2c.c
@@
-507,6
+507,9
@@
mod_i2c_mem(cmd_tbl_t *cmdtp, int incrflag, int flag, int argc, char *argv[])
if(i2c_write(chip, addr, alen, (char *)&data, size) != 0) {
printf("Error writing the chip.\n");
}
+#ifdef CFG_EEPROM_PAGE_WRITE_DELAY_MS
+ udelay(CFG_EEPROM_PAGE_WRITE_DELAY_MS * 1000);
+#endif
if (incrflag)
addr += size;
}