diff options
| author | Cooper Jr., Franklin <[email protected]> | 2017-04-20 10:25:44 -0500 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2017-05-09 09:04:29 +0200 |
| commit | c6b80b13924adc9b72fb03c368c2e39b85131a91 (patch) | |
| tree | e7da8149306b213e92aab9b64fdff75251f07b2c /include/linux/linux_string.h | |
| parent | 70f6f94c773550faf955e852854ed07519dae8de (diff) | |
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
