commit | df0a914e6f1e6ebd7006615fff75763cd898a8c4 | [log] [tgz] |
---|---|---|
author | Mario Six <six@gdsys.de> | Wed Apr 20 10:44:52 2016 +0200 |
committer | Heiko Schocher <hs@denx.de> | Tue May 03 15:25:46 2016 +0200 |
tree | dc5c2db87503eb2725882367c354a3be0da66154 | |
parent | fb9418fe668679eb4b4ad7118519340b8a5e5864 [diff] |
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>