aboutsummaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-02-09 16:56:04 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-02-10 16:09:32 +0000
commitc8a0faab5c758c282a2978d8230169f283fc306c (patch)
tree4e4cb1eacf2d54bb6b78114a11d236737ea0d2d9 /src/soc
parentfd05601eb0b1887c8848ea594ae7faa12e8c5ba7 (diff)
soc/amd/cezanne/chip: add empty set_mmio_dev_ops
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I2ac5fcd17b6aed464a0d1e55f2860574501f7a8a Reviewed-on: https://review.coreboot.org/c/coreboot/+/50439 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/cezanne/chip.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/chip.c b/src/soc/amd/cezanne/chip.c
index 9a0ca6a7eb..4aac2eca24 100644
--- a/src/soc/amd/cezanne/chip.c
+++ b/src/soc/amd/cezanne/chip.c
@@ -17,6 +17,10 @@ static struct device_operations pci_domain_ops = {
.scan_bus = pci_domain_scan_bus,
};
+static void set_mmio_dev_ops(struct device *dev)
+{
+}
+
static void enable_dev(struct device *dev)
{
/* Set the operations if it is a special bus type */
@@ -27,6 +31,9 @@ static void enable_dev(struct device *dev)
case DEVICE_PATH_CPU_CLUSTER:
dev->ops = &cpu_bus_ops;
break;
+ case DEVICE_PATH_MMIO:
+ set_mmio_dev_ops(dev);
+ break;
default:
break;
}