Skip to contentSkip to conversation

axs101 - increase EEPROM page write delay from 32 to 64 msec

PATCH New Alexey Brodkin 1 participant 2 messages Mar 24, 2014 – Apr 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 axs101 - increase EEPROM page write delay from 32 to 64 msec

With 32 milliseconds delay on some boards EEMPROM got written inconsistently. With 64 msec all of our existig boards show properly written EEPROM.

Cc Tom Rini <[email protected]>
---
 include/configs/axs101.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/axs101.h +1 -1
index f6b569a..8d03110 100644
@@ -103,7 +103,7 @@
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW	1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	3
-#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	32
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	64
 
 /*
  * SD/MMC configuration
Signature · 1 line
1.8.5.3
#1 lore raw

PATCH 1/1 axs101 - increase EEPROM page write delay from 32 to 64 msec

Hi Tom,

Quoted 15 lines · Alexey Brodkin

With 32 milliseconds delay on some boards EEMPROM got written inconsistently. With 64 msec all of our existig boards show properly written EEPROM.

Cc Tom Rini <[email protected]>
---
 include/configs/axs101.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/axs101.h +0 -0
index f6b569a..8d03110 100644

include/configs/axs101.h line 109

Quoted 8 lines
include/configs/axs101.h +1 -1
@@ -103,7 +103,7 @@
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW	1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	3
-#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	32
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	64
 
 /*
  * SD/MMC configuration

Do you mind to apply this one?

Regards,
Alexey