Home
last modified time | relevance | path

Searched hist:a6e7b7744e158c4c02f91fcbf991845cad4dc6e3 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/cmd/
H A Deeprom.ca6e7b7744e158c4c02f91fcbf991845cad4dc6e3 Wed Apr 20 08:44:52 UTC 2016 Mario Six <six@gdsys.de> i2c/eeprom: Always define I2C_RXTX_LEN

I2C_RXTX_LEN from include/i2c.h is not defined if CONFIG_DM_I2C is
enabled. This leads to a compilation error on boards that enable both
CONFIG_CMD_EEPROM and CONFIG_DM_I2C.

To avoid this, we define I2C_RXTX_LEN in cmd/eeprom.c if it is not
already defined.

Signed-off-by: Mario Six <mario.six@gdsys.cc>