aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2019-04-08 13:20:53 -0600
committerSimon Glass2019-04-23 20:26:43 -0600
commit569cec5e840601a1491d899e5c434ee59c70cb57 (patch)
treede549fb048a8c5a670e426f87528658112c30ff7
parent1c6eb075a3fd31f3a22d72f11abc0b15c5776f1d (diff)
sandbox: Enable the 'trace' command when tracing is used
Enable this by default so that tracing can be inspected if enabled. This cannot rely on the 'imply' in lib/Kconfig since this method of enabling tracing relates on an environment variable (FTRACE) and does not use Kconfig. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/configs/sandbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 6dd03e31cfa..bf03baefe83 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -8,11 +8,11 @@
#ifdef FTRACE
#define CONFIG_TRACE
+#define CONFIG_CMD_TRACE
#define CONFIG_TRACE_BUFFER_SIZE (16 << 20)
#define CONFIG_TRACE_EARLY_SIZE (16 << 20)
#define CONFIG_TRACE_EARLY
#define CONFIG_TRACE_EARLY_ADDR 0x00100000
-
#endif
#ifndef CONFIG_SPL_BUILD