[coreboot] New patch to review for coreboot: f8935eb romstage_handoff: add s3_resume field

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Mar 19 01:59:04 CET 2013

Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2796


commit f8935ebff61c943162eb296514dd150a6a0e6884
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Mon Feb 11 21:15:12 2013 -0600

    romstage_handoff: add s3_resume field
    Provide a field in the romstage_handoff structure to indicate if the
    current boot is an ACPI S3 wake boot. There are currently quite a few
    non-standardized ways of passing this knowledge to ramstage from
    romstage. Many utilize stashing magic numbers in device-specific
    registers. The addition of this field adds a more formalized method
    passing along this information. However, it still requires the romstage
    chipset code to initialize this field. In short, this change does not
    make this a hard requirement for ramstage.
    Change-Id: Ia819c0ceed89ed427ef576a036fa870eb7cf57bc
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
 src/include/romstage_handoff.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/include/romstage_handoff.h b/src/include/romstage_handoff.h
index 13dc979..c20b261 100644
--- a/src/include/romstage_handoff.h
+++ b/src/include/romstage_handoff.h
@@ -31,6 +31,8 @@ struct romstage_handoff {
 	/* This indicates to the ramstage to reserve a chunk of memory. */
 	uint32_t reserve_base;
 	uint32_t reserve_size;
+	/* Inidicate if the current boot is an S3 resume. */
+	uint32_t s3_resume;
 #if defined(__PRE_RAM__)

More information about the coreboot mailing list