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
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
elog.h drivers/elog: Fix implicit function declaration issue 2014-04-20 17:43:34 +02:00
endian.h
fallback.h
inttypes.h
ip_checksum.h
kconfig.h
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
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
smbios.h smbios: Supply tag type 2 (base board information) 2014-03-09 21:21:46 +01:00
spd.h
spd_ddr2.h
spi-generic.h SPI: Add API for programmer-specific flashing. 2014-01-23 20:42:08 +01:00
spi_flash.h
stddef.h
stdlib.h
string.h Remove sprintf 2014-01-10 18:08:31 +01:00
swab.h
thread.h
timer.h
timestamp.h Intel FSP: add a shared set of functions for the FSP 2014-05-09 21:35:56 +02:00
trace.h
types.h pc80/keyboard: Ignore interface test failure. 2014-01-26 17:39:42 +01:00
vbe.h
version.h Introduce stage-specific architecture for coreboot 2014-05-06 20:23:31 +02:00
watchdog.h