summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-02 17:25:21 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-06 05:00:48 +0000
commitef40c0ce91a85124205105f337b52026c1f69d0d (patch)
tree3fdbe01132728a6149576c5ad0e7b8e8f09216a1 /src/northbridge/amd/agesa
parent7076aa5745babc188275a837797d5f0f0b7db5d8 (diff)
downloadcoreboot-ef40c0ce91a85124205105f337b52026c1f69d0d.tar.xz
AGESA: Drop LATE_CBMEM_INIT in new interface
Change-Id: Iffa6cf495b4649f73a1095732509f195ac828248 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/21379 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd/agesa')
-rw-r--r--src/northbridge/amd/agesa/state_machine.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/northbridge/amd/agesa/state_machine.c b/src/northbridge/amd/agesa/state_machine.c
index 7743603f0b..d1570d3b45 100644
--- a/src/northbridge/amd/agesa/state_machine.c
+++ b/src/northbridge/amd/agesa/state_machine.c
@@ -326,9 +326,6 @@ static void amd_bs_ramstage_init(void *arg)
if (!acpi_is_wakeup_s3())
agesa_execute_state(cb, AMD_INIT_ENV);
else {
- /* We need HEAP from CBMEM early. */
- if (IS_ENABLED(CONFIG_LATE_CBMEM_INIT))
- cbmem_initialize();
agesa_execute_state(cb, AMD_S3LATE_RESTORE);
fchs3earlyrestore(&cb->StdHeader);
}