summaryrefslogtreecommitdiff
path: root/include/configs/motionpro.h
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2007-05-27 17:03:37 +0200
committerBartlomiej Sieka <tur@semihalf.com>2007-05-27 17:03:37 +0200
commit630ec84aef7228fc1dbfb38dec78541403a786cd (patch)
treea0d924ed6a8482ea93c6514587e93d38e4e7d29d /include/configs/motionpro.h
parentc00125e07c1ebc125bab40e1e18bceed8be0c162 (diff)
Motion-PRO: Update EEPROM's page write bits and write delay.
Change EEPROM configuration according to the datasheet: "The 24C01A and 24C02A have a page write capability of two bytes", and "This device offers fast (1ms) byte write". Add 3ms of extra delay. Signed-off-by: Piotr Kruszynski <ppk@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'include/configs/motionpro.h')
-rw-r--r--include/configs/motionpro.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h
index a7021b0719b..2c405b5db8d 100644
--- a/include/configs/motionpro.h
+++ b/include/configs/motionpro.h
@@ -299,8 +299,8 @@
*/
#define CFG_I2C_EEPROM_ADDR_LEN 1
#define CFG_EEPROM_PAGE_WRITE_ENABLE 1 /* DTT driver needs this */
-#define CFG_EEPROM_PAGE_WRITE_BITS 3
-#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 70
+#define CFG_EEPROM_PAGE_WRITE_BITS 1 /* 2 bytes per write cycle */
+#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 5 /* 2ms/cycle + 3ms extra */
#define CFG_I2C_MULTI_EEPROMS 1 /* 2 EEPROMs (addr:50,52) */