From 59d5731ec75b5ab3b505180a815ef314382b29d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 4 Aug 2019 21:16:34 +0300 Subject: arch/x86: Drop weak attribute on stage_cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are no more cases that need to override this. Change-Id: Iafa94af19eae00cc5be5d4ff7454066558e3c74f Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34741 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/cpu/x86/smm/tseg_region.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/cpu') 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 #include -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"); -- cgit v1.2.3