Files
system76-coreboot/src/cpu/intel
Aaron Durbin 2ad1dbaf2a haswell: move call site of save_mrc_data()
The save_mrc_data() was previously called conditionally
in the raminit code. The save_mrc_data() function was called
in the non-S3 wake paths. However, the common romstage_common()
code was checking cbmem initialization things on s3 wake. Between
the two callers cbmem_initialize() was being called twice in the
non-s3 wake paths.  Moreover, saving of the mrc data was not allowed
when CONFIG_EARLY_CBMEM_INIT wasn't enabled.

Therefore, move the save_mrc_data() to romstage_common. It already has
the knowledge of the wake path. Also remove the CONFIG_EARLY_CBMEM_INIT
requirement from save_mrc_data() as well as the call to cbmem_initialize().

Change-Id: I7f0e4d752c92d9d5eedb8fa56133ec190caf77da
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2756
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-03-18 20:50:15 +01:00
..
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2013-03-07 00:46:32 +01:00
2012-10-07 21:48:37 +02:00