intel/nehalem: Use romstage_handoff for S3
commit1b7609c0e88ba820dbc2251fad0d994e2b54a154
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Sat, 25 Jun 2016 08:40:00 +0000 (25 11:40 +0300)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Sun, 11 Dec 2016 07:59:35 +0000 (11 08:59 +0100)
treef6d8d73ade4e1b6e7b5a3385d03f964d20e96c23
parent122e5bc6b1e551dd79035d26d943283e4cb7b2d7
intel/nehalem: Use romstage_handoff for S3

Don't use scratchpad registers when we have romstage_handoff
to pass S3 resume flag. Also fixes console log from reporting
early in ramstage "Normal boot" while on S3 resume path.

Change-Id: I2f1f05ef4fc640face3d9dc92d12cfe4ba852566
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/17676
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/mainboard/lenovo/x201/mainboard.c
src/mainboard/lenovo/x201/romstage.c
src/mainboard/packardbell/ms2290/romstage.c
src/northbridge/intel/nehalem/nehalem.h
src/northbridge/intel/nehalem/northbridge.c