summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorCooper Jr., Franklin <fcooper@ti.com>2017-04-20 10:25:44 -0500
committerHeiko Schocher <hs@denx.de>2017-05-09 09:04:29 +0200
commitc6b80b13924adc9b72fb03c368c2e39b85131a91 (patch)
treee7da8149306b213e92aab9b64fdff75251f07b2c /disk
parent70f6f94c773550faf955e852854ed07519dae8de (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 <fcooper@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions