arch/x86: Drop weak attribute on stage_cache
There are no more cases that need to override this.
Change-Id: Iafa94af19eae00cc5be5d4ff7454066558e3c74f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34741
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/cpu/x86/smm/tseg_region.c b/src/cpu/x86/smm/tseg_region.c
index 07789f4..75b9988 100644
--- a/src/cpu/x86/smm/tseg_region.c
+++ b/src/cpu/x86/smm/tseg_region.c
@@ -20,12 +20,6 @@
#include <stage_cache.h>
#include <types.h>
-void __weak smm_region(uintptr_t *start, size_t *size)
-{
- *start = 0;
- *size = 0;
-}
-
/*
* Subregions within SMM
* +-------------------------+
@@ -76,7 +70,7 @@
return 0;
}
-void __weak stage_cache_external_region(void **base, size_t *size)
+void stage_cache_external_region(void **base, size_t *size)
{
if (smm_subregion(SMM_SUBREGION_CACHE, (uintptr_t *)base, size)) {
printk(BIOS_ERR, "ERROR: No cache SMM subregion.\n");