Convert CONFIG_TRACE to Kconfig

This converts the following to Kconfig:
   CONFIG_TRACE

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2019-04-08 13:20:51 -06:00
parent f564d09608
commit a24a78d7e3
3 changed files with 10 additions and 2 deletions

View File

@ -1905,7 +1905,7 @@ config CMD_TRACE
Enables a command to control using of function tracing within Enables a command to control using of function tracing within
U-Boot. This allows recording of call traces including timing U-Boot. This allows recording of call traces including timing
information. The command can write data to memory for exporting information. The command can write data to memory for exporting
for analsys (e.g. using bootchart). See doc/README.trace for full for analysis (e.g. using bootchart). See doc/README.trace for full
details. details.
config CMD_AVB config CMD_AVB

View File

@ -165,6 +165,15 @@ config RBTREE
config BITREVERSE config BITREVERSE
bool "Bit reverse library from Linux" bool "Bit reverse library from Linux"
config TRACE
bool "Support for tracing of function calls and timing"
imply CMD_TRACE
help
Enables function tracing within U-Boot. This allows recording of call
traces including timing information. The command can write data to
memory for exporting for analysis (e.g. using bootchart).
See doc/README.trace for full details.
source lib/dhry/Kconfig source lib/dhry/Kconfig
menu "Security support" menu "Security support"

View File

@ -4401,7 +4401,6 @@ CONFIG_TMU_TIMER
CONFIG_TPL_PAD_TO CONFIG_TPL_PAD_TO
CONFIG_TPM_TIS_BASE_ADDRESS CONFIG_TPM_TIS_BASE_ADDRESS
CONFIG_TPS6586X_POWER CONFIG_TPS6586X_POWER
CONFIG_TRACE
CONFIG_TRACE_BUFFER_SIZE CONFIG_TRACE_BUFFER_SIZE
CONFIG_TRACE_EARLY CONFIG_TRACE_EARLY
CONFIG_TRACE_EARLY_ADDR CONFIG_TRACE_EARLY_ADDR