summaryrefslogtreecommitdiffstats
path: root/docs/tools
diff options
context:
space:
mode:
authorPatrick Venture2021-04-12 21:45:21 +0200
committerCorey Minyard2021-04-15 14:10:30 +0200
commit3f9b32595e785c79720ed174198472c3d4d32c03 (patch)
treee37aadf2f77131ec20a77655d62a7de73af594d9 /docs/tools
parenthw/i2c: add match method for device search (diff)
downloadqemu-3f9b32595e785c79720ed174198472c3d4d32c03.tar.gz
qemu-3f9b32595e785c79720ed174198472c3d4d32c03.tar.xz
qemu-3f9b32595e785c79720ed174198472c3d4d32c03.zip
hw/i2c: move search to i2c_scan_bus method
Moves the search for matching devices on an i2c bus into a separate method. This allows for an object that owns an I2CBus can avoid duplicating this method. Tested: A BMC firmware was booted to userspace and i2c devices were detected. Signed-off-by: Patrick Venture <venture@google.com> Reviewed-by: Hao Wu <wuhaotsh@google.com> Message-Id: <20210412194522.664594-4-venture@google.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'docs/tools')
0 files changed, 0 insertions, 0 deletions