diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-02-09 16:55:47 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-02-10 16:09:19 +0000 |
commit | fd05601eb0b1887c8848ea594ae7faa12e8c5ba7 (patch) | |
tree | cc353735f249b5bc959d515e4c87a6ba65f45362 | |
parent | c023839a8406950082b7e666fd74e5a3f4bd3991 (diff) | |
download | coreboot-fd05601eb0b1887c8848ea594ae7faa12e8c5ba7.tar.xz |
soc/amd/cezanne/chip: add empty cpu_bus_ops
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I658294c84d64c7de0ccfa74b0e830d787a3a42fe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50438
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/soc/amd/cezanne/chip.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/chip.c b/src/soc/amd/cezanne/chip.c index accd3e9871..9a0ca6a7eb 100644 --- a/src/soc/amd/cezanne/chip.c +++ b/src/soc/amd/cezanne/chip.c @@ -6,6 +6,11 @@ #include <types.h> #include "chip.h" +struct device_operations cpu_bus_ops = { + .read_resources = noop_read_resources, + .set_resources = noop_set_resources, +}; + static struct device_operations pci_domain_ops = { .read_resources = pci_domain_read_resources, .set_resources = pci_domain_set_resources, @@ -19,6 +24,9 @@ static void enable_dev(struct device *dev) case DEVICE_PATH_DOMAIN: dev->ops = &pci_domain_ops; break; + case DEVICE_PATH_CPU_CLUSTER: + dev->ops = &cpu_bus_ops; + break; default: break; } |