From: Igor Grinberg Date: Thu, 15 May 2014 08:25:09 +0000 (+0300) Subject: compulab: eeprom: add default eeprom address X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d3f041c0c4b051ed7a2f5791225b0195719e76ff;p=u-boot.git compulab: eeprom: add default eeprom address Add default eeprom address setting. Signed-off-by: Igor Grinberg --- diff --git a/board/compulab/common/eeprom.c b/board/compulab/common/eeprom.c index 5aa3dbd295..20fe3e1960 100644 --- a/board/compulab/common/eeprom.c +++ b/board/compulab/common/eeprom.c @@ -10,6 +10,11 @@ #include #include +#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