summaryrefslogtreecommitdiff
path: root/src/cpu/x86
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-04 21:16:34 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-28 22:57:17 +0000
commit59d5731ec75b5ab3b505180a815ef314382b29d1 (patch)
tree57d608ccf1c5835057e2004bc89cb91185b9347f /src/cpu/x86
parent8f09688d23e326b053dac9a1dfc167a1ddf6a5a1 (diff)
downloadcoreboot-59d5731ec75b5ab3b505180a815ef314382b29d1.tar.xz
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>
Diffstat (limited to 'src/cpu/x86')
-rw-r--r--src/cpu/x86/smm/tseg_region.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cpu/x86/smm/tseg_region.c b/src/cpu/x86/smm/tseg_region.c
index 07789f4ac1..75b9988099 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 @@ int smm_subregion(int sub, uintptr_t *start, size_t *size)
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");