Kyösti Mälkki uploaded patch set #5 to this change.

View Change

timestamps: Improve collection for ENV_ROMSTAGE_OR_BEFORE

Keep track of the active timestamp table location using
a CAR_GLOBAL variable. Done this way, the entire table
can be located outside _car_relocatable_data and we only
switch the pointer to CBMEM and copy the data before
CAR gets torn down.

Remove timestamp_cache from postcar and ramstate, as CBMEM
is available early on.

Modify intel/fsp_broadwell_de such that timestamp_init() is
called while REGION(timestamp) is available, adding two new
early timestamps. Other FSP1.0 platforms fsp_baytrail and
fsp_rangeley already did it this way.

Change-Id: I87370f62db23318069b6fd56ba0d1171d619cb8a
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
---
M src/arch/x86/car.ld
M src/include/timestamp.h
M src/lib/timestamp.c
M src/soc/intel/fsp_broadwell_de/romstage/romstage.c
4 files changed, 75 insertions(+), 105 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/35032/5

To view, visit change 35032. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I87370f62db23318069b6fd56ba0d1171d619cb8a
Gerrit-Change-Number: 35032
Gerrit-PatchSet: 5
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin@chromium.org>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Furquan Shaikh <furquan@google.com>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd@gmail.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh@siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset