coreboot-kgpe-d16/src
Aaron Durbin bd1499d338 timestamps: don't drop ramstage timestamps with EARLY_CBMEM_INIT
While running ramstage with the EARLY_CBMEM_INIT config the timestamp
cache was re-initialized and subsequently used. The result was that
the ramstage timestamps would be dropped from cbmem.  The reason
is that the ramstage timestamps perpetually lived in ramstage BSS
never getting sync'd back into cbmem. The fix is to honor the
cache state in ramstage in the timestamp_init() path.

Also, make cache_state a fixed bit width to allow for different
architectures across the pre-ramstage stages.

TEST=Used qemu-armv7 as a test harness with debugging info.

Change-Id: Ibb276e513278e81cb741b1e1f6dbd1e8051cc907
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/10880
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-07-10 15:23:53 +02:00
..
acpi acpi/sata: add generic sata ssdt port generator 2015-06-07 01:24:47 +02:00
arch arm: add __umoddi3() to libgcc implementation 2015-07-09 00:31:39 +02:00
console consoles: remove unused infrastructure 2015-05-26 19:02:54 +02:00
cpu x86: Drop -Wa,--divide 2015-07-07 18:30:55 +02:00
device device: remove unused x86 include from common code 2015-07-09 00:30:56 +02:00
drivers FSP 1.1: Update the CBFS image type 2015-07-10 02:11:27 +02:00
ec ec/lenovo/h8: silence sound on boot 2015-07-07 02:40:50 +02:00
include include/cbmem_id.h: Add name for CBMEM_ID_TCPA_LOG 2015-07-10 08:14:16 +02:00
lib timestamps: don't drop ramstage timestamps with EARLY_CBMEM_INIT 2015-07-10 15:23:53 +02:00
mainboard veyron_{brain,danger,mickey,romy}: Select PHYSICAL_REC_SWITCH 2015-07-09 00:10:05 +02:00
northbridge sandybridge: provide monotonic timer function 2015-07-07 02:35:52 +02:00
soc Braswell: Move the microcode into a subdirectory 2015-07-10 02:11:47 +02:00
southbridge timestamp: remove conditional #if CONFIG_COLLECT_TIMESTAMPS 2015-07-07 20:07:49 +02:00
superio superio: use common x86 code on x86-64 2015-06-22 07:36:09 +02:00
vendorcode vboot: Don't count boot attempts if lid is closed 2015-07-08 19:40:24 +02:00
Kconfig payloads: Reorganize Kconfig for external payloads 2015-07-07 22:49:47 +02:00