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>
This commit is contained in:
parent
8f09688d23
commit
59d5731ec7
|
@ -20,12 +20,6 @@
|
||||||
#include <stage_cache.h>
|
#include <stage_cache.h>
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
||||||
void __weak smm_region(uintptr_t *start, size_t *size)
|
|
||||||
{
|
|
||||||
*start = 0;
|
|
||||||
*size = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Subregions within SMM
|
* Subregions within SMM
|
||||||
* +-------------------------+
|
* +-------------------------+
|
||||||
|
@ -76,7 +70,7 @@ int smm_subregion(int sub, uintptr_t *start, size_t *size)
|
||||||
return 0;
|
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)) {
|
if (smm_subregion(SMM_SUBREGION_CACHE, (uintptr_t *)base, size)) {
|
||||||
printk(BIOS_ERR, "ERROR: No cache SMM subregion.\n");
|
printk(BIOS_ERR, "ERROR: No cache SMM subregion.\n");
|
||||||
|
|
Loading…
Reference in New Issue