amd/common/pi: Remove obsolete heapmanager workaround
Remove residual code that allowed successful building of the heapmanager code. Now that stoneyridge no longer makes AGESA calls in bootblock, it is safe to elimate the workaround. BUG=b:74518368 TEST=boot Grunt Change-Id: Ie169a691a177bcd8283c31c8188ce28bcbce82af Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/27254 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
ebc1e2163f
commit
418c2bb29b
1 changed files with 2 additions and 10 deletions
|
|
@ -73,17 +73,9 @@ AGESA_STATUS agesa_HeapRebase(UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
|||
AGESA_REBASE_PARAMS *Rebase;
|
||||
|
||||
Rebase = (AGESA_REBASE_PARAMS *)ConfigPtr;
|
||||
if (ENV_BOOTBLOCK) {
|
||||
Rebase->HeapAddress = (UINTN)agesa_heap_base();
|
||||
if (!Rebase->HeapAddress)
|
||||
Rebase->HeapAddress = CONFIG_PI_AGESA_CAR_HEAP_BASE;
|
||||
} else {
|
||||
/*
|
||||
* todo: remove the if() above and keep the assignment here
|
||||
* once all AGESA functions are removed from bootblock.
|
||||
*/
|
||||
Rebase->HeapAddress = (UINTN)agesa_heap_base();
|
||||
if (!Rebase->HeapAddress)
|
||||
Rebase->HeapAddress = CONFIG_PI_AGESA_CAR_HEAP_BASE;
|
||||
}
|
||||
|
||||
return AGESA_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue