]> git.sur5r.net Git - u-boot/commitdiff
Motion-PRO: Update EEPROM's page write bits and write delay.
authorBartlomiej Sieka <tur@semihalf.com>
Sun, 27 May 2007 15:03:37 +0000 (17:03 +0200)
committerBartlomiej Sieka <tur@semihalf.com>
Sun, 27 May 2007 15:03:37 +0000 (17:03 +0200)
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>
include/configs/motionpro.h

index a7021b0719b1aaca92a2fb68afd80b928b3b00ac..2c405b5db8dfeb0bbe5eebaf5d32a19285e16883 100644 (file)
  */
 #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) */