projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02847fc
)
compulab: eeprom: add default eeprom address
author
Igor Grinberg
<grinberg@compulab.co.il>
Thu, 15 May 2014 08:25:09 +0000
(11:25 +0300)
committer
Tom Rini
<trini@ti.com>
Fri, 23 May 2014 23:40:05 +0000
(19:40 -0400)
Add default eeprom address setting.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/common/eeprom.c
patch
|
blob
|
history
diff --git
a/board/compulab/common/eeprom.c
b/board/compulab/common/eeprom.c
index 5aa3dbd295585bdd33d2b8871a58558023e43222..20fe3e19602dc427d0e550208e80815bd18d86b0 100644
(file)
--- a/
board/compulab/common/eeprom.c
+++ b/
board/compulab/common/eeprom.c
@@
-10,6
+10,11
@@
#include <common.h>
#include <i2c.h>
+#ifndef CONFIG_SYS_I2C_EEPROM_ADDR
+# define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
+# define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
+#endif
+
#define EEPROM_LAYOUT_VER_OFFSET 44
#define BOARD_SERIAL_OFFSET 20
#define BOARD_SERIAL_OFFSET_LEGACY 8