dm: i2c: EEPROM simulator add tests for addr offset mask
[oweals/u-boot.git] / arch / sandbox / include / asm / test.h
index f3a8b455d52b8aec1ef0996ca73c3348cb83a075..7dd9aa58c55ad7a16a8b521af0a47855995ed6ee 100644 (file)
@@ -72,6 +72,9 @@ void sandbox_i2c_eeprom_set_test_mode(struct udevice *dev,
 
 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len);
 
+void sandbox_i2c_eeprom_set_chip_addr_offset_mask(struct udevice *dev,
+                                                 uint mask);
+
 uint sanbox_i2c_eeprom_get_prev_addr(struct udevice *dev);
 
 uint sanbox_i2c_eeprom_get_prev_offset(struct udevice *dev);