From: Albert ARIBAUD Date: Thu, 9 Oct 2014 10:50:44 +0200 Subject: [U-Boot] [PATCH] compulab: eeprom: add default eeprom bus In-Reply-To: <1410958765-6525-1-git-send-email-nikita@compulab.co.il> References: <1410958765-6525-1-git-send-email-nikita@compulab.co.il> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Nikita, On Wed, 17 Sep 2014 15:59:25 +0300, Nikita Kiryanov wrote: > 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 > --- > board/compulab/common/eeprom.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/board/compulab/common/eeprom.c b/board/compulab/common/eeprom.c > index 85442cd..2df3ada 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 Applied to u-boot-arm/master, thanks! Unclean builds now down from 6 to 5 (openrd_client openrd_ultimate tricorder_flash openrd_base tricorder) Amicalement, -- Albert.