summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-02-17 00:05:34 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-02-18 01:16:04 +0000
commitb284013065aff4f20890b0422444c9022cb54e7c (patch)
tree2d873f532ea7132613adb6be54d5b9787b4943db /src
parent51c4d68fa7c95f82bccedb7f83ceee1de1a5731c (diff)
soc/amd/cezanne/root_complex: provide ACPI name in PCI device_operations
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I7f17348b1146a07fcb3e905122d7185b60da962f Reviewed-on: https://review.coreboot.org/c/coreboot/+/50823 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/cezanne/root_complex.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/root_complex.c b/src/soc/amd/cezanne/root_complex.c
index fbbf86b642..9191dc2481 100644
--- a/src/soc/amd/cezanne/root_complex.c
+++ b/src/soc/amd/cezanne/root_complex.c
@@ -130,10 +130,16 @@ static void read_resources(struct device *dev)
}
}
+static const char *gnb_acpi_name(const struct device *dev)
+{
+ return "GNB";
+}
+
static struct device_operations root_complex_operations = {
.read_resources = read_resources,
.set_resources = noop_set_resources,
.enable_resources = pci_dev_enable_resources,
+ .acpi_name = gnb_acpi_name,
};
static const struct pci_driver family17_root_complex __pci_driver = {