diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2016-11-17 16:51:13 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-21 23:38:40 +0100 |
commit | 5c325491ca2f791c46b2b3ca34f4ad1c750ac6f4 (patch) | |
tree | 03af579cd7e15c352b792a09b93bfdad1996b219 /util/inteltool | |
parent | 8955d5572f94585db16bec9f50b4304852add630 (diff) |
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.
Change-Id: Ib4b50aaf9817ac94f46c28925081540676226d84
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>
Diffstat (limited to 'util/inteltool')
-rw-r--r-- | util/inteltool/inteltool.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c index c7ca63185b..6596900782 100644 --- a/util/inteltool/inteltool.c +++ b/util/inteltool/inteltool.c @@ -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); |