summaryrefslogtreecommitdiff
path: root/src/lib/hardwaremain.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-04-24 17:31:49 -0500
committerRonald G. Minnich <rminnich@gmail.com>2013-05-01 07:11:22 +0200
commit243aa44b74935cfc969106dbbe2420ee4a2c39b2 (patch)
tree645ee8f1e41ad05d2e29d786c86454bf406f82fa /src/lib/hardwaremain.c
parent40131cfa46bc195ad3bdf2ce9b9af67dcbfd71ca (diff)
downloadcoreboot-243aa44b74935cfc969106dbbe2420ee4a2c39b2.tar.xz
boot: remove cbmem_post_handling()
The cbmem_post_handling() function was implemented by 2 chipsets in order to save memory configuration in flash. Convert both of these chipsets to use the boot state machine callbacks to perform the saving of the memory configuration. Change-Id: I697e5c946281b85a71d8533437802d7913135af3 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/3137 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib/hardwaremain.c')
-rw-r--r--src/lib/hardwaremain.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index dc2afa43a8..adee3ca709 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -37,7 +37,6 @@
#if CONFIG_HAVE_ACPI_RESUME
#include <arch/acpi.h>
#endif
-#include <cbmem.h>
#include <timestamp.h>
#if BOOT_STATE_DEBUG
@@ -186,9 +185,6 @@ static boot_state_t bs_os_resume(void *wake_vector)
static boot_state_t bs_write_tables(void *arg)
{
- if (cbmem_post_handling)
- cbmem_post_handling();
-
timestamp_add_now(TS_WRITE_TABLES);
/* Now that we have collected all of our information