From fd05601eb0b1887c8848ea594ae7faa12e8c5ba7 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 9 Feb 2021 16:55:47 +0100 Subject: soc/amd/cezanne/chip: add empty cpu_bus_ops Signed-off-by: Felix Held Change-Id: I658294c84d64c7de0ccfa74b0e830d787a3a42fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/50438 Reviewed-by: Angel Pons Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/soc/amd/cezanne/chip.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 #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; } -- cgit v1.2.3