UPSTREAM: util/inteltool: Fix bay trail ahci device
Use a unique bus/device/function if a bay trail LPC bridge was found. TEST=Run on MinnowBoard MAX Turbot and customer's LynxPoint-LP. BUG=None BRANCH=None Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/17464 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Change-Id: Ib4b50aaf9817ac94f46c28925081540676226d84 Reviewed-on: https://chromium-review.googlesource.com/414561 Commit-Ready: Aaron Durbin <adurbin@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
a14f6c3867
commit
4fc81cadfd
1 changed files with 4 additions and 1 deletions
|
|
@ -428,7 +428,10 @@ int main(int argc, char *argv[])
|
|||
gfx = 0;
|
||||
}
|
||||
|
||||
ahci = pci_get_dev(pacc, 0, 0, 0x1f, 2);
|
||||
if (sb->device_id == PCI_DEVICE_ID_INTEL_BAYTRAIL_LPC)
|
||||
ahci = pci_get_dev(pacc, 0, 0, 0x13, 0);
|
||||
else
|
||||
ahci = pci_get_dev(pacc, 0, 0, 0x1f, 2);
|
||||
|
||||
if (ahci) {
|
||||
pci_fill_info(ahci, PCI_FILL_IDENT|PCI_FILL_BASES|PCI_FILL_SIZES|PCI_FILL_CLASS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue