summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-03-16 12:25:04 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-03-18 08:09:12 +0000
commitff485f2bcef9d0c8cf9536f6b8bc87edbe718e04 (patch)
treea427f21aeff168dcd8a5a86ea2c45c504ce837d7
parentf2df29e4058d2dda92437f156c0cca6b1c02d389 (diff)
downloadcoreboot-ff485f2bcef9d0c8cf9536f6b8bc87edbe718e04.tar.xz
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 <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51522 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/common/block/cpu/mp_init.c11
1 files changed, 0 insertions, 11 deletions
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 <intelblocks/msr.h>
#include <soc/cpu.h>
-/* 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);