瀏覽代碼

x86: config: Add tracing options

Add configs to enable tracing when it is needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass 12 年之前
父節點
當前提交
b5f3193734
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      include/configs/coreboot.h

+ 7 - 0
include/configs/coreboot.h

@@ -168,6 +168,13 @@
  */
 #include <config_cmd_default.h>
 
+#define CONFIG_TRACE
+#define CONFIG_CMD_TRACE
+#define CONFIG_TRACE_BUFFER_SIZE	(16 << 20)
+#define CONFIG_TRACE_EARLY_SIZE		(8 << 20)
+#define CONFIG_TRACE_EARLY
+#define CONFIG_TRACE_EARLY_ADDR		0x01400000
+
 #define CONFIG_CMD_BDI
 #define CONFIG_CMD_BOOTD
 #define CONFIG_CMD_CONSOLE