]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: i2c: EEPROM simulator add tests for addr offset mask
authorRobert Beckett <bob.beckett@collabora.com>
Mon, 28 Oct 2019 17:44:59 +0000 (17:44 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 17 Dec 2019 05:57:31 +0000 (06:57 +0100)
commit951674ac7e3db23eb3b2b87c27387364a9e38ca2
tree354d2a83d5ec40ee6d281206228b367b7e328aec
parent22e93511be2e012d3f807641b07e09b649a71ef6
dm: i2c: EEPROM simulator add tests for addr offset mask

Add support for setting the chip address offset mask to EEPROM sumulator
and add tests to test it.

Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/sandbox/include/asm/test.h
drivers/misc/i2c_eeprom_emul.c
test/dm/i2c.c