coreboot/src
Aaron Durbin c7b7a3fb44 UPSTREAM: romstage_handoff: remove code duplication
The same pattern was being used throughout the code base
for initializing the romstage handoff structure. Provide
a helper function to initialize the structure with the S3
resume state then utilize it at all the existing call sites.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/17646
Tested-by: build bot (Jenkins)
Reviewed-by: Kysti Mlkki <kyosti.malkki@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>

Change-Id: I1e9d588ab6b9ace67757387dbb5963ae31ceb252
Reviewed-on: https://chromium-review.googlesource.com/416155
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-12-02 14:22:55 -08:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: Build system: Update HAVE_CMOS_DEFAULT 2016-11-30 02:53:56 -08:00
commonlib UPSTREAM: soc/intel/common: Add save/restore for variable MRC data 2016-12-01 03:34:00 -08:00
console UPSTREAM: console/vtxprintf.c: cast precision to size_t for string length 2016-11-29 17:38:21 -08:00
cpu UPSTREAM: romstage_handoff: remove code duplication 2016-12-02 14:22:55 -08:00
device UPSTREAM: device/dram/ddr3: Fix calculation CRC16 of SPD 2016-11-21 11:54:09 -08:00
drivers UPSTREAM: romstage_handoff: remove code duplication 2016-12-02 14:22:55 -08:00
ec UPSTREAM: google/parrot: Fix keyboard interrupts, DSDT 2016-11-30 02:53:19 -08:00
include UPSTREAM: romstage_handoff: remove code duplication 2016-12-02 14:22:55 -08:00
lib UPSTREAM: lib: Add library to handle SPD data in CBFS or DIMM 2016-12-01 03:34:21 -08:00
mainboard UPSTREAM: AMD binaryPI: Switch to MMCONF_SUPPORT_DEFAULT 2016-12-02 14:22:50 -08:00
northbridge UPSTREAM: romstage_handoff: remove code duplication 2016-12-02 14:22:55 -08:00
soc UPSTREAM: romstage_handoff: remove code duplication 2016-12-02 14:22:55 -08:00
southbridge UPSTREAM: AMD binaryPI: Use explicit PCI IO config access in bootblock 2016-12-02 14:22:48 -08:00
superio UPSTREAM: sio/nuvoton: Include generic nuvoton driver in bootblock stage 2016-11-30 02:54:10 -08:00
vboot UPSTREAM: commonlib/include: remove NEED_VB20_INTERNALS 2016-11-21 11:53:31 -08:00
vendorcode UPSTREAM: vendorcode/skykabylake: Update header to fsp v1.4.0 2016-12-01 03:34:28 -08:00
Kconfig UPSTREAM: mb/intel/kblrvp: Add Variant board support for KBLRVP 2016-12-01 03:34:26 -08:00