coreboot-kgpe-d16/src/soc/intel/fsp_baytrail
Aaron Durbin 77e13997d3 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.

Change-Id: I1e9d588ab6b9ace67757387dbb5963ae31ceb252
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/17646
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2016-12-01 08:16:15 +01:00
..
acpi Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
bootblock intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
fsp intel/fsp_baytrail: Fix assignment of PcdeMMCBootMode 2016-11-16 18:23:11 +01:00
include/soc src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
romstage romstage_handoff: remove code duplication 2016-12-01 08:16:15 +01:00
acpi.c intel/fsp_baytrail: Don't clear gnvs in acpi_init_gnvs() 2016-03-13 03:06:37 +01:00
chip.c intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
chip.h intel/fsp_baytrail: Fix LPE initialization and enable ACPI mode 2016-03-13 03:07:16 +01:00
cpu.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
gfx.c fsp_baytrail: Fix a possible hanging DisplayPort 2016-02-25 15:16:44 +01:00
gpio.c intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
i2c.c intel/fsp_baytrail/i2c: mask i2c interrupts in i2c_init() 2016-06-03 04:54:32 +02:00
iosf.c fsp_baytrail: Add full support for iosf access in reg_script 2016-02-22 19:25:28 +01:00
Kconfig Remove explicit select MMCONF_SUPPORT 2016-11-22 04:15:11 +01:00
lpe.c intel/fsp_baytrail: Fix LPE initialization and enable ACPI mode 2016-03-13 03:07:16 +01:00
lpss.c intel/fsp_baytrail: Enable LPSS in ACPI mode 2016-03-14 18:24:10 +01:00
Makefile.inc fsp_baytrail: Fix missing "$" when using Kconfig switch 2016-04-28 19:11:52 +02:00
memmap.c intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
northcluster.c intel/fsp_baytrail: Eliminate warning about missing set_resources 2016-04-16 02:04:41 +02:00
nvm.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
placeholders.c {cpu,soc}/intel: remove unused smm_init() function 2016-05-06 16:48:21 +02:00
pmutil.c intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
ramstage.c intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
reset.c intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
smihandler.c soc/intel/fsp_baytrail: use common Intel ACPI hardware definitions 2016-07-15 08:33:03 +02:00
smm.c intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
southcluster.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
spi.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
tsc_freq.c intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00