From b2d8a5c01724eab24e7b00bb58c8eaf06e9377af Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 10 Feb 2021 16:17:13 +0100 Subject: [PATCH] soc/amd/cezanne: add empty mp_init_cpus Change-Id: I845a7e2cfea58ca08cd2a6f0d884dbbbe1a7bdef Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/50483 Reviewed-by: Marshall Dawson Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/soc/amd/cezanne/chip.c | 5 +++-- src/soc/amd/cezanne/cpu.c | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/soc/amd/cezanne/chip.c b/src/soc/amd/cezanne/chip.c index 4aac2eca24..6e4df42bb9 100644 --- a/src/soc/amd/cezanne/chip.c +++ b/src/soc/amd/cezanne/chip.c @@ -7,8 +7,9 @@ #include "chip.h" struct device_operations cpu_bus_ops = { - .read_resources = noop_read_resources, - .set_resources = noop_set_resources, + .read_resources = noop_read_resources, + .set_resources = noop_set_resources, + .init = mp_cpu_bus_init, }; static struct device_operations pci_domain_ops = { diff --git a/src/soc/amd/cezanne/cpu.c b/src/soc/amd/cezanne/cpu.c index cd2d6ed4b1..b199d99251 100644 --- a/src/soc/amd/cezanne/cpu.c +++ b/src/soc/amd/cezanne/cpu.c @@ -7,6 +7,10 @@ #include #include +void mp_init_cpus(struct bus *cpu_bus) +{ +} + static void zen_2_3_init(struct device *dev) { setup_lapic();