summaryrefslogtreecommitdiffstats
path: root/3rdparty/vboot
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-20 17:59:50 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-22 19:14:51 +0000
commit1f3055aa36655cce731dcc8f33a21b011cec14eb (patch)
treeaabdc97bc0cdfc6caf3ccab5f90d94e0bb7b704b /3rdparty/vboot
parent38b349cb35738377cf42b71afa9e5d66e1a8eb4b (diff)
downloadcoreboot-1f3055aa36655cce731dcc8f33a21b011cec14eb.tar.gz
coreboot-1f3055aa36655cce731dcc8f33a21b011cec14eb.tar.bz2
coreboot-1f3055aa36655cce731dcc8f33a21b011cec14eb.zip
device: Add helper function to find matching device on bus
This change adds a helper function dev_find_matching_device_on_bus() which scans all the child devices on the given bus and calls a match function provided by the caller. It returns the first device that the match function returns true for, else NULL if no such device is found. Change-Id: I2e3332c0a175ab995c523f078f29a9f498f17931 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40543 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '3rdparty/vboot')
0 files changed, 0 insertions, 0 deletions