summaryrefslogtreecommitdiff
path: root/test/dm/i2c.c
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2019-10-28 20:44:57 +0300
committerHeiko Schocher <hs@denx.de>2019-12-17 08:57:12 +0300
commit85968522b928e19a27aa79f0cb186c80b8b82e47 (patch)
tree21562077d4dc1e2c3558e76076c453fea952c87b /test/dm/i2c.c
parent553cb06887825314e74a9bdac337467c77d1db88 (diff)
downloadu-boot-85968522b928e19a27aa79f0cb186c80b8b82e47.tar.xz
i2c: add support for offset overflow in to address
Some devices (2 wire eeproms for example) use some bits from the chip address to represent the high bits of the offset instead of or as well as using multiple bytes for the offset, effectively stealing chip addresses on the bus. Add a chip offset mask that can be set for any i2c chip which gets filled with the offset overflow during offset setup. Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Ian Ray <ian.ray@ge.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'test/dm/i2c.c')
0 files changed, 0 insertions, 0 deletions