diff options
author | Philipp Deppenwiese <zaolin@das-labor.org> | 2017-03-01 02:24:33 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-05-11 16:50:27 +0200 |
commit | 30670121c32a7e99c24271216c6f9450d14e7d90 (patch) | |
tree | bccf52fd6be09a128afbe0013e269644704c9e23 /src/northbridge/amd | |
parent | 5fd00ce71a1bfd5cd36f9d42ab657a8e7d6c54f2 (diff) |
amd/pi: Add AMD fam16h TPM ACPI path support
Change-Id: I5322d731a0dc655f2da14b87fa6cbc1e54b5abd5
Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org>
Reviewed-on: https://review.coreboot.org/18522
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r-- | src/northbridge/amd/pi/00730F01/northbridge.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/northbridge/amd/pi/00730F01/northbridge.c b/src/northbridge/amd/pi/00730F01/northbridge.c index ed8e17a753..3a2f730e63 100644 --- a/src/northbridge/amd/pi/00730F01/northbridge.c +++ b/src/northbridge/amd/pi/00730F01/northbridge.c @@ -864,6 +864,14 @@ static void domain_set_resources(device_t dev) } } +static const char *domain_acpi_name(struct device *dev) +{ + if (dev->path.type == DEVICE_PATH_DOMAIN) + return "PCI0"; + + return NULL; +} + static struct device_operations pci_domain_ops = { .read_resources = domain_read_resources, .set_resources = domain_set_resources, @@ -871,6 +879,7 @@ static struct device_operations pci_domain_ops = { .init = NULL, .scan_bus = pci_domain_scan_bus, .ops_pci_bus = pci_bus_default_ops, + .acpi_name = domain_acpi_name, }; static void sysconf_init(device_t dev) // first node |