summary refs log tree commit diff stats
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2018-11-30 13:38:21 -0600
committerCorey Minyard <cminyard@mvista.com>2019-02-27 21:06:08 -0600
commit9cf27d74a829f651c0da5d80c014a6cef9d4cbd8 (patch)
tree74bb0f0aee54e6e81fccfeb58417bcecaab85366 /include/hw/boards.h
parent905cec6d11088e585fcedb3fd606510959ee50ff (diff)
downloadfocaccia-qemu-9cf27d74a829f651c0da5d80c014a6cef9d4cbd8.tar.gz
focaccia-qemu-9cf27d74a829f651c0da5d80c014a6cef9d4cbd8.zip
i2c:smbus: Simplify write operation
There were two different write functions and the SMBus code kept
track of the command.

Keeping track of the command wasn't useful, in fact it wasn't quite
correct for the eeprom_smbus code.  And there is no need for two write
functions.  Just have one write function and the first byte in the
buffer is the command.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions