diff options
author | Gabe Black <gabeblack@google.com> | 2012-11-21 01:52:27 -0800 |
---|---|---|
committer | Anton Kochkov <anton.kochkov@gmail.com> | 2013-02-26 07:39:06 +0100 |
commit | 37ef52d44b3d527d6a4fb84eaffa4260b7521d4a (patch) | |
tree | be0598e4a7c22860cef3e675a43f927ab694e6b3 /src/southbridge | |
parent | b4523bb691037f78a0823299ef44c0e350e17759 (diff) |
libpayload: Correct a constant used for scanning for USB controllers.
When checking to see if a PCI device exists at a particular bus/dev/func,
libpayload was checking the vendor and device id fields together against a 16
bit 0xffff. The two fields together are 32 bits, however, so the check was
never true, and all dev/func combinations on a particular bus would be
checked. That was slightly wasteful, but had relatively small impact.
Change-Id: Iad537295c33083243940b18e7a99af92857e1ef2
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/2521
Tested-by: build bot (Jenkins)
Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/southbridge')
0 files changed, 0 insertions, 0 deletions