Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/board/ti/common/
H A Dboard_detect.cc6b80b13924adc9b72fb03c368c2e39b85131a91 Thu Apr 20 15:25:44 UTC 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>