Commit 7d2f669b94aa42579b5d5775dfb076bce0102e3f
Committed by
Albert ARIBAUD
1 parent
88982893c4
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
board/compulab/common/eeprom.c
... | ... | @@ -15,6 +15,10 @@ |
15 | 15 | # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 |
16 | 16 | #endif |
17 | 17 | |
18 | +#ifndef CONFIG_SYS_I2C_EEPROM_BUS | |
19 | +#define CONFIG_SYS_I2C_EEPROM_BUS 0 | |
20 | +#endif | |
21 | + | |
18 | 22 | #define EEPROM_LAYOUT_VER_OFFSET 44 |
19 | 23 | #define BOARD_SERIAL_OFFSET 20 |
20 | 24 | #define BOARD_SERIAL_OFFSET_LEGACY 8 |