From: Nikita Kiryanov Date: Wed, 17 Sep 2014 12:59:25 +0000 (+0300) Subject: compulab: eeprom: add default eeprom bus X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7d2f669b94aa42579b5d5775dfb076bce0102e3f;p=u-boot.git compulab: eeprom: add default eeprom bus Add default eeprom bus setting. This addresses the trimslice compile error that was introduced with the addition of this setting. Cc: Albert ARIBAUD Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov Acked-by: Igor Grinberg --- diff --git a/board/compulab/common/eeprom.c b/board/compulab/common/eeprom.c index 85442cd103..2df3adabf8 100644 --- a/board/compulab/common/eeprom.c +++ b/board/compulab/common/eeprom.c @@ -15,6 +15,10 @@ # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 #endif +#ifndef CONFIG_SYS_I2C_EEPROM_BUS +#define CONFIG_SYS_I2C_EEPROM_BUS 0 +#endif + #define EEPROM_LAYOUT_VER_OFFSET 44 #define BOARD_SERIAL_OFFSET 20 #define BOARD_SERIAL_OFFSET_LEGACY 8