summary refs log tree commit diff stats
path: root/hw/arm/virt.c
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2021-04-12 12:45:21 -0700
committerCorey Minyard <cminyard@mvista.com>2021-04-15 07:10:30 -0500
commit3f9b32595e785c79720ed174198472c3d4d32c03 (patch)
treee37aadf2f77131ec20a77655d62a7de73af594d9 /hw/arm/virt.c
parent513ca82d8982463aca98aa01dcf584e0b4fc0982 (diff)
downloadfocaccia-qemu-3f9b32595e785c79720ed174198472c3d4d32c03.tar.gz
focaccia-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 'hw/arm/virt.c')
0 files changed, 0 insertions, 0 deletions