coreboot/src/include
Aaron Durbin 00bf3dbf35 baytrail: snapshot power state in romstage
The memory reference code doesn't maintain some of
the registers which contain valuable information in order
to log correct reset and wake events in the eventlog. Therefore
snapshot the registers which matter in this area so that
they can be consumed by ramstage.

BUG=chrome-os-partner:24907
BRANCH=rambi,squawks
TEST=Did various resets/wakes with logging patch which
     consumes this structure. Eventlog can pick up reset
     events and power failures.

Change-Id: Id8d2d782dd4e1133113f5308c4ccfe79bc6d3e03
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/181982
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/5032
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
2014-05-13 16:11:04 +02:00
..
boot ChromeOS: Use common fill_lb_gpio() 2014-05-01 15:40:11 +02:00
console console: Drop EARLY_CONSOLE option 2014-04-30 07:00:20 +02:00
cpu AMD: Add common header file for CAR setup 2014-04-28 18:36:35 +02:00
device build rules: Identify build stage with simple variables 2014-04-18 16:40:32 +02:00
pc80 src/*: Remove the last remnants of struct keyboard 2014-05-13 12:14:34 +02:00
smp SMP: Add arch-agnostic boot_cpu() 2014-02-11 21:55:30 +01:00
superio superio/common/conf_mode: Provide another common pnp entry/exit 2014-05-07 21:36:48 +02:00
assert.h
bootmem.h coreboot: introduce notion of bootmem for memory map at boot 2014-03-03 21:47:27 +01:00
bootmode.h Declare get_write_protect_state() without ChromeOS 2014-05-08 16:25:30 +02:00
bootstate.h include: Fix spelling 2013-07-11 22:36:19 +02:00
cbfs.h coreboot: unify infrastructure for loading payloads 2014-03-03 19:48:02 +01:00
cbfs_core.h lib/cbfs_core.c: Supply size of file as well in cbfs_get_file_content 2014-01-12 17:41:02 +01:00
cbmem.h baytrail: snapshot power state in romstage 2014-05-13 16:11:04 +02:00
delay.h Get rid of HAVE_INIT_TIMER config option 2014-04-26 13:25:28 +02:00
edid.h Added structure members x_mm and y_mm to edid decoding 2013-12-21 08:04:13 +01:00
elog.h drivers/elog: Fix implicit function declaration issue 2014-04-20 17:43:34 +02:00
endian.h Extend CBFS to support arbitrary ROM source media. 2013-01-30 17:58:32 +01:00
fallback.h Make set_boot_successful depend on PC80_SYSTEM 2012-11-30 21:33:35 +01:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h Drop prototype guarding for romcc 2013-05-10 00:06:46 +02:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h lib/hexdump: Use size_t for length parameter of hexdump32() 2014-05-05 08:59:05 +02:00
memrange.h mtrr: only add prefetchable resources as WRCOMB for VGA devices 2014-02-09 22:08:53 +01:00
option.h option: Add arch-agnostic get_option() 2014-03-04 15:23:10 +01:00
payload_loader.h x86: add MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING option 2014-03-07 15:30:27 +01:00
ramstage_cache.h ramstage_cache: allow ramstage usage add valid helper 2014-05-10 06:31:45 +02:00
ramstage_loader.h coreboot: infrastructure for different ramstage loaders 2014-02-15 18:39:29 +01:00
reg_script.h reg_script: add reg_script_run_on_dev() 2014-05-10 06:30:43 +02:00
reset.h Drop prototype guarding for romcc 2013-05-10 00:06:46 +02:00
rmodule-defs.h rmodules: use rmodtool to create rmodules 2014-03-20 23:55:55 +01:00
rmodule.h rmodules: use rmodtool to create rmodules 2014-03-20 23:55:55 +01:00
romstage_handoff.h coreboot: infrastructure for different ramstage loaders 2014-02-15 18:39:29 +01:00
rules.h build rules: Identify build stage with simple variables 2014-04-18 16:40:32 +02:00
sdram_mode.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
smbios.h smbios: Supply tag type 2 (base board information) 2014-03-09 21:21:46 +01:00
spd.h spd.h: Add all known SPD_MEMORY_TYPE definitions. 2013-06-03 22:35:21 +02:00
spd_ddr2.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
spi-generic.h SPI: Add API for programmer-specific flashing. 2014-01-23 20:42:08 +01:00
spi_flash.h Whitespace: Replace tab character in license text with two spaces 2013-02-20 23:30:45 +01:00
stddef.h Make ssize_t an actual ssize_t 2013-11-25 23:13:50 +01:00
stdlib.h stdlib: add ALIGN_UP and ALIGN_DOWN macros 2013-03-29 19:54:47 +01:00
string.h Remove sprintf 2014-01-10 18:08:31 +01:00
swab.h include: Fix spelling 2013-07-11 22:36:19 +02:00
thread.h include: Fix spelling 2013-07-11 22:36:19 +02:00
timer.h include: Fix spelling 2013-07-11 22:36:19 +02:00
timestamp.h Intel FSP: add a shared set of functions for the FSP 2014-05-09 21:35:56 +02:00
trace.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
types.h pc80/keyboard: Ignore interface test failure. 2014-01-26 17:39:42 +01:00
vbe.h Provide support for setting up the framebuffer from EDID 2013-07-10 02:39:28 +02:00
version.h Introduce stage-specific architecture for coreboot 2014-05-06 20:23:31 +02:00
watchdog.h watchdog.h: Fix compile time error on disabling watchdog handling 2013-03-12 12:06:43 +01:00