From bc3261f8283ba11c389e8cfcc0089390a133c589 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 30 Jan 2023 13:32:44 +0100 Subject: util/autoport: Use chipset.cb references TESTED with x220 logs. Change-Id: I89023b6c6dd5d985168331fbb12b2fc36fb65dc3 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/72597 Tested-by: build bot (Jenkins) Reviewed-by: Jakub Czapiga Reviewed-by: Elyes Haouas --- util/autoport/sandybridge.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/autoport/sandybridge.go') diff --git a/util/autoport/sandybridge.go b/util/autoport/sandybridge.go index a60018e955..bd7f0f0c30 100644 --- a/util/autoport/sandybridge.go +++ b/util/autoport/sandybridge.go @@ -41,9 +41,9 @@ func (i sandybridgemc) Scan(ctx Context, addr PCIDevData) { PCIController: true, ChildPCIBus: 0, PCISlots: []PCISlot{ - PCISlot{PCIAddr: PCIAddr{Dev: 0x0, Func: 0}, writeEmpty: true, additionalComment: "Host bridge"}, - PCISlot{PCIAddr: PCIAddr{Dev: 0x1, Func: 0}, writeEmpty: true, additionalComment: "PEG"}, - PCISlot{PCIAddr: PCIAddr{Dev: 0x2, Func: 0}, writeEmpty: true, additionalComment: "iGPU"}, + PCISlot{PCIAddr: PCIAddr{Dev: 0x0, Func: 0}, writeEmpty: true, alias: "host_bridge", additionalComment: "Host bridge"}, + PCISlot{PCIAddr: PCIAddr{Dev: 0x1, Func: 0}, writeEmpty: true, alias: "peg10", additionalComment: "PEG"}, + PCISlot{PCIAddr: PCIAddr{Dev: 0x2, Func: 0}, writeEmpty: true, alias: "igd", additionalComment: "iGPU"}, }, }, }, -- cgit v1.2.3