diff options
author | Simon Glass <sjg@chromium.org> | 2021-11-24 19:26:39 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-12-05 19:23:15 +0300 |
commit | 89050244c40e79fc24b24ee84e4e668a6dfc336d (patch) | |
tree | 5e8d2b8951168676c3f8c27bf36f47b9dbbc399e /cmd | |
parent | 5bf81216463dbeb5b5dcdbc22e2f5c8589c333fb (diff) | |
download | u-boot-89050244c40e79fc24b24ee84e4e668a6dfc336d.tar.xz |
trace: sandbox: Use only the Kconfig options
At present there are Kconfig options for tracing, but sandbox uses
plain #defines to set them. Correct this and make the tracing command
default to enabled so that this is not needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 5b30b13e43..fd8f0227c8 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2350,6 +2350,8 @@ config CMD_LOG config CMD_TRACE bool "trace - Support tracing of function calls and timing" + depends on TRACE + default y help Enables a command to control using of function tracing within U-Boot. This allows recording of call traces including timing |