diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-05-10 12:15:18 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-05-11 00:30:03 +0200 |
commit | bb11e60cb2f40da2a5a59dfacda4d46119ddda24 (patch) | |
tree | f82bbd5b7af6cdae0b77e335db061f870900174f /src/boot | |
parent | 1244f4b52fe423eeac2621672aa1786232f2ca0b (diff) |
Hook up MRC cache update
Requirements:
- must be in ramstage (locking flash while executing code from there
might not work)
- must be after cbmem is reinitialized (so the mrc cache copy of the
current run can be found)
Change-Id: I8028fb073349ce2b027ef5f8397dc1a1b8b31c02
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/1002
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/hardwaremain.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c index f0853ec22f..d78b859b62 100644 --- a/src/boot/hardwaremain.c +++ b/src/boot/hardwaremain.c @@ -130,6 +130,11 @@ void hardwaremain(int boot_complete) timestamp_add(TS_DEVICE_ENABLE, timestamps[3]); timestamp_add(TS_DEVICE_INITIALIZE, timestamps[4]); timestamp_add(TS_DEVICE_DONE, timestamps[5]); + timestamp_add_now(TS_CBMEM_POST); + + if (cbmem_post_handling) + cbmem_post_handling(); + timestamp_add_now(TS_WRITE_TABLES); /* Now that we have collected all of our information |