diff options
author | Tom Rini <trini@konsulko.com> | 2019-12-17 07:53:08 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-17 07:53:08 -0500 |
commit | 533c9f5714bdba79dc6f2629284d4c1a08a611d1 (patch) | |
tree | 97a49bbeaec32a4ee2fedef9d98da6c3d7e978a4 /arch/sandbox/include/asm | |
parent | 553cb06887825314e74a9bdac337467c77d1db88 (diff) | |
parent | 033e18b47bd020610f84ca88c5ce3b88215d563a (diff) |
Merge tag '20191217-for-next' of https://gitlab.denx.de/u-boot/custodians/u-boot-i2c into next
i2c: for next
- misc: i2c_eeprom:
Add partition support and add ability to query size
of eeprom device and partitions
- i2c common:
add support for offset overflow in to address and add
sandbox tests for it.
Diffstat (limited to 'arch/sandbox/include/asm')
-rw-r--r-- | arch/sandbox/include/asm/test.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/test.h index b885e1a14f..7dd9aa58c5 100644 --- a/arch/sandbox/include/asm/test.h +++ b/arch/sandbox/include/asm/test.h @@ -72,6 +72,13 @@ 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); + /** * sandbox_i2c_rtc_set_offset() - set the time offset from system/base time * |