Home
last modified time | relevance | path

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

/openbmc/u-boot/board/ti/common/
H A Dboard_detect.cc6b80b13 Thu Apr 20 10:25:44 CDT 2017 Cooper Jr., Franklin <fcooper@ti.com> ti: common: board_detect: Introduce function to set the address length.

Reading from the I2C EEPROM used typically requires using an address length
of 2. However, when using DM for I2C the default address length used is 1.
To fix this introduce a new function that allows the address length to be
changed. The logic to do so was copied from cmd/i2c.c.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>