Commit d3f041c0c4b051ed7a2f5791225b0195719e76ff
Committed by
Tom Rini
1 parent
02847fcc92
Exists in
v2017.01-smarct4x
and in
40 other branches
compulab: eeprom: add default eeprom address
Add default eeprom address setting. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff
board/compulab/common/eeprom.c
... | ... | @@ -10,6 +10,11 @@ |
10 | 10 | #include <common.h> |
11 | 11 | #include <i2c.h> |
12 | 12 | |
13 | +#ifndef CONFIG_SYS_I2C_EEPROM_ADDR | |
14 | +# define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 | |
15 | +# define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 | |
16 | +#endif | |
17 | + | |
13 | 18 | #define EEPROM_LAYOUT_VER_OFFSET 44 |
14 | 19 | #define BOARD_SERIAL_OFFSET 20 |
15 | 20 | #define BOARD_SERIAL_OFFSET_LEGACY 8 |