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>
This commit is contained in:
parent
e20d6095ae
commit
43f6d9d716
5 changed files with 57 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue