Skip to content

Commit 7de2945

Browse files
committed
DON'T MERGE: update EEPROM page write delay in U-Boot
As soon as this patch gets accepted in upstream U-Boot remove this commit. Signed-off-by: Alexey Brodkin <[email protected]>
1 parent f23aab7 commit 7de2945

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
From 9c3ea662a066387e0460e099536d78ecfee60377 Mon Sep 17 00:00:00 2001
2+
From: Alexey Brodkin <[email protected]>
3+
Date: Mon, 24 Mar 2014 17:15:50 +0400
4+
Subject: [PATCH] axs101 - increase EEPROM page write delay from 32 to 64 msec
5+
6+
With 32 milliseconds delay on some boards EEMPROM got written inconsistently.
7+
With 64 msec all of our existig boards show properly written EEPROM.
8+
9+
Cc: Tom Rini <[email protected]>
10+
11+
Signed-off-by: Alexey Brodkin <[email protected]>
12+
---
13+
include/configs/axs101.h | 2 +-
14+
1 file changed, 1 insertion(+), 1 deletion(-)
15+
16+
diff --git a/include/configs/axs101.h b/include/configs/axs101.h
17+
index f6b569a..8d03110 100644
18+
--- a/include/configs/axs101.h
19+
+++ b/include/configs/axs101.h
20+
@@ -103,7 +103,7 @@
21+
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
22+
#define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW 1
23+
#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
24+
-#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 32
25+
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 64
26+
27+
/*
28+
* SD/MMC configuration
29+
--
30+
1.8.5.3
31+

0 commit comments

Comments
 (0)