diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2014-09-17 15:59:25 +0300 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-10-09 10:44:59 +0200 |
commit | 7d2f669b94aa42579b5d5775dfb076bce0102e3f (patch) | |
tree | da7b385a2c2fb897954725339d9db4088cb2dc7b /board/compulab | |
parent | 88982893c4d50692b80a2155146cda9e42266c6b (diff) | |
download | u-boot-imx-7d2f669b94aa42579b5d5775dfb076bce0102e3f.zip u-boot-imx-7d2f669b94aa42579b5d5775dfb076bce0102e3f.tar.gz u-boot-imx-7d2f669b94aa42579b5d5775dfb076bce0102e3f.tar.bz2 |
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 <albert.u.boot@aribaud.net>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/compulab')
-rw-r--r-- | board/compulab/common/eeprom.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |