From d7ad1409b955f83e40da3b648e85bc3cc2b919a8 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 5 Jun 2023 15:30:10 +0200 Subject: [PATCH] soc/amd/stoneyridge/northbridge: reserve PCI config IO ports This makes sure that the resource allocator won't use those ports for anything else. Signed-off-by: Felix Held Change-Id: I014ffe3ee94ec153e91113f9a17e89f24ca040b3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75619 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/soc/amd/stoneyridge/northbridge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c index 75fdfa4a35..452a7bb2eb 100644 --- a/src/soc/amd/stoneyridge/northbridge.c +++ b/src/soc/amd/stoneyridge/northbridge.c @@ -334,6 +334,8 @@ void domain_read_resources(struct device *dev) pci_domain_read_resources(dev); + fixed_io_range_reserved(dev, idx++, PCI_IO_CONFIG_INDEX, PCI_IO_CONFIG_PORT_COUNT); + /* 0x0 -> 0x9ffff */ ram_resource_kb(dev, idx++, 0, 0xa0000 / KiB);