1 ## SPDX-License-Identifier: GPL-2.0-only
3 config SOC_AMD_COMMON_BLOCK_STB
5 select SOC_AMD_COMMON_BLOCK_SMN
6 select SOC_AMD_COMMON_BLOCK_SMU
8 Select in the SOC if it supports the Smart Trace Buffer
10 if SOC_AMD_COMMON_BLOCK_STB
12 config WRITE_STB_BUFFER_TO_CONSOLE
13 bool "Write STB entries to the console log"
15 depends on !ENABLE_STB_SPILL_TO_DRAM
17 This option will tell coreboot to print the STB buffer at various
18 points through the boot process. Note that this will prevent the
19 entries from being stored if the Spill-to-DRAM feature is enabled.
21 config ENABLE_STB_SPILL_TO_DRAM
22 bool "Enable Smart Trace Buffer Spill-to-DRAM"
25 Spill-to-DRAM is an STB feature that extends the buffer from using
26 just the small SRAM buffer to a much larger area reserved in main
29 config AMD_STB_SIZE_IN_MB
30 int "Smart Trace Buffer Spill-to-DRAM buffer size in MB"
33 depends on ENABLE_STB_SPILL_TO_DRAM
35 Size of the STB Spill-to-DRAM buffer in MB.
37 config ADD_POSTCODES_TO_STB
38 bool "Add coreboot postcodes to STB"
41 Add coreboot's postcodes to the smart trace buffer