haswell: use s3_resume field in romstage_handoff
commitbf396ff21c60f364e5d0af4eda1e38f4603fc3b1
authorAaron Durbin <adurbin@chromium.org>
Tue, 12 Feb 2013 03:50:35 +0000 (11 21:50 -0600)
committerRonald G. Minnich <rminnich@gmail.com>
Thu, 21 Mar 2013 21:53:25 +0000 (21 22:53 +0100)
tree83a3df5ca3f89bdd1584fb6ef347315c56623d4f
parent605ca1bb9c7e9da8bacf07e96e2da187acf3090b
haswell: use s3_resume field in romstage_handoff

Now that there is a way to disseminate the presence of s3 wake more
formally use that instead of hard coded pointers in memory and stashing
magic values in device registers. The northbridge code picks up the
field's presence in the romstage_handoff structure and sets up the
acpi_slp_type variable accordingly.

Change-Id: Ida786728ce2950bd64610a99b7ad4f1ca6917a99
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2799
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
src/cpu/intel/haswell/romstage.c
src/northbridge/intel/haswell/northbridge.c