From ec5ddcd17c7b16592412ff03b77daf1be34a20a3 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sun, 20 Jun 2021 13:45:09 +0200 Subject: [PATCH] mb/lenovo/t440p: Disable second PEG device MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEG bifurcation is strapped to x8/x8 on this board, but only the first port is used. Disable the PEG device at 00:01.1 because it is unused. Should fix booting with commit ae999503f62ef8a3b9b2756a2810d29c383a009e (nb/intel/haswell/pcie.c: Add missing pre-ASPM init). The `config_of()` function call added in that commit makes coreboot die if any PEG device that is enabled by strapping is not present in the devicetree. While it is true that the PEG code should not use `config_of()`, this PEG device should still be disabled on this board as it is never used. Change-Id: I16809e081f9a56ba2f1fdfcb4b8289d75161056b Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/55687 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Máté Kukri --- src/mainboard/lenovo/t440p/devicetree.cb | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/lenovo/t440p/devicetree.cb b/src/mainboard/lenovo/t440p/devicetree.cb index 1713387295..b7588ea77d 100644 --- a/src/mainboard/lenovo/t440p/devicetree.cb +++ b/src/mainboard/lenovo/t440p/devicetree.cb @@ -24,6 +24,7 @@ chip northbridge/intel/haswell device pci 00.0 on end # Host bridge device pci 01.0 on end # PCIe Bridge for discrete graphics + device pci 01.1 off end # Unused PCIe Bridge device pci 02.0 on end # Internal graphics VGA controller device pci 03.0 on end # Mini-HD audio