aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-14 14:59:31 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-25 08:39:05 +0000
commit43f6d9d7160be96460f77993465de1570568c569 (patch)
treeeb71b49d0c8f482e58ae2e46413d92735a58da84 /src/northbridge/amd/agesa
parente20d6095aee0c73e758199dfa214366104fc9a85 (diff)
AGESA binaryPI: Add AGESA entry timestamps
The call to timestamp_rescale_table() had to be moved before TS_AGESA_INIT_{POST/RESUME}_DONE to have that timestamp appear without rescaling. Change-Id: I71e09d3bc4c8657979d447b90fb6ac7cae959479 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31515 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/amd/agesa')
-rw-r--r--src/northbridge/amd/agesa/state_machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/amd/agesa/state_machine.h b/src/northbridge/amd/agesa/state_machine.h
index 74c3f61e0d..7d9fe9c5ef 100644
--- a/src/northbridge/amd/agesa/state_machine.h
+++ b/src/northbridge/amd/agesa/state_machine.h
@@ -59,6 +59,8 @@ struct agesa_state {
AGESA_STRUCT_NAME func;
const char *function_name;
+ uint32_t ts_entry_id;
+ uint32_t ts_exit_id;
};
void agesa_state_on_entry(struct agesa_state *task, AGESA_STRUCT_NAME func);