diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-14 14:59:31 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-25 08:39:05 +0000 |
commit | 43f6d9d7160be96460f77993465de1570568c569 (patch) | |
tree | eb71b49d0c8f482e58ae2e46413d92735a58da84 /src/vendorcode | |
parent | e20d6095aee0c73e758199dfa214366104fc9a85 (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/vendorcode')
-rw-r--r-- | src/vendorcode/amd/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vendorcode/amd/Kconfig b/src/vendorcode/amd/Kconfig index 3fe0c82240..44b3940fa7 100644 --- a/src/vendorcode/amd/Kconfig +++ b/src/vendorcode/amd/Kconfig @@ -47,6 +47,15 @@ if CPU_AMD_AGESA_BINARY_PI source src/vendorcode/amd/pi/Kconfig endif +config AGESA_EXTRA_TIMESTAMPS + bool "Add instrumentation for AGESA calls" + default n + depends on !BINARYPI_LEGACY_WRAPPER + depends on DRIVERS_AMD_PI + help + Insert additional timestamps around each entrypoint into + AGESA vendorcode. + endmenu endif |