summaryrefslogtreecommitdiff
path: root/Documentation/codeflow.svg
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-03-08 17:48:59 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-04-27 16:07:29 +0000
commit8fbf88fd8cbcd76274a2f418f08a80fc4d93fe13 (patch)
tree4ac4b95a3fbf249d229b6290c5e896e8c3259a35 /Documentation/codeflow.svg
parent66538e08770794b4bf7baadc53f167a405b870bc (diff)
include/device/i2c_simple: add i2c_2ba_read_bytes function
To read data from an I2C EEPROM that uses 2 byte offsets or any other I2C device that uses 2 byte offsets, first the two offset bytes are sent to the device and then the data bytes are read from it. The main difference to the existing i2c_read_bytes is that that function will only send one offset byte to the I2C device. TEST=Reading the contents of an EEPROM on the AMD Chausie board works Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I224e434bb2654aabef6302c1525112e44c4b21fa Reviewed-on: https://review.coreboot.org/c/coreboot/+/63791 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'Documentation/codeflow.svg')
0 files changed, 0 insertions, 0 deletions