diff options
author | Patrick Venture <venture@google.com> | 2021-04-12 12:45:21 -0700 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2021-04-15 07:10:30 -0500 |
commit | 3f9b32595e785c79720ed174198472c3d4d32c03 (patch) | |
tree | e37aadf2f77131ec20a77655d62a7de73af594d9 /pc-bios | |
parent | 513ca82d8982463aca98aa01dcf584e0b4fc0982 (diff) |
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 'pc-bios')
0 files changed, 0 insertions, 0 deletions