From ff485f2bcef9d0c8cf9536f6b8bc87edbe718e04 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 16 Mar 2021 12:25:04 +0100 Subject: soc/intel/block/cpu/mp_init.c: Remove weak functions All platforms implement those and using a no-op function is not expected, so it is better to fail the build if the soc specific code is not implemented. Change-Id: Id946f5b279dcfa6946381b9a67faba6b8c1ca332 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/51522 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/cpu/mp_init.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c index 8f8cd069b3..9619298771 100644 --- a/src/soc/intel/common/block/cpu/mp_init.c +++ b/src/soc/intel/common/block/cpu/mp_init.c @@ -15,17 +15,6 @@ #include #include -/* SoC override function */ -__weak void soc_core_init(struct device *dev) -{ - /* no-op */ -} - -__weak void soc_init_cpus(struct bus *cpu_bus) -{ - /* no-op */ -} - static void init_one_cpu(struct device *dev) { soc_core_init(dev); -- cgit v1.2.3