[U-Boot] compulab trimslice build error due to 52658fda7abc ("compulab: eeprom: add support for defining eeprom i2c bus")

After commit 52658fda7abc ("compulab: eeprom: add support for defining eeprom i2c bus"), the trimslice board fails to build with:
.../board/compulab/common/eeprom.c: In function ‘cl_eeprom_read’: .../board/compulab/common/eeprom.c:37:24: error: ‘CONFIG_SYS_I2C_EEPROM_BUS’ undeclared (first use in this function) .../board/compulab/common/eeprom.c:37:24: note: each undeclared identifier is reported only once for each function it appears in
I have no idea if this EEPROM code should even run on TrimSlice or not. Can you take a look at the correct fix?

Hi Stephen,
On 09/18/14 20:21, Stephen Warren wrote:
After commit 52658fda7abc ("compulab: eeprom: add support for defining eeprom i2c bus"), the trimslice board fails to build with:
.../board/compulab/common/eeprom.c: In function ‘cl_eeprom_read’: .../board/compulab/common/eeprom.c:37:24: error: ‘CONFIG_SYS_I2C_EEPROM_BUS’ undeclared (first use in this function) .../board/compulab/common/eeprom.c:37:24: note: each undeclared identifier is reported only once for each function it appears in
I have no idea if this EEPROM code should even run on TrimSlice or not. Can you take a look at the correct fix?
We have already submitted a temporary fix, see [1]. The intend is to switch to Kconfig for all CompuLab boards and that will bring the proper fix for the problem. After this, the temporary fixes can be removed.
[1] https://patchwork.ozlabs.org/patch/390381/
participants (2)
-
Igor Grinberg
-
Stephen Warren