[U-Boot] [PATCH 14/19] x86: Enable bootstage for coreboot

Simon Glass sjg at chromium.org
Thu Apr 18 04:13:43 CEST 2013


This is a convenient way of finding out where boottime is going. Enable
it for coreboot.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
 include/configs/coreboot.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 7953ec6..743fb95 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -48,6 +48,15 @@
 #define CONFIG_OF_SEPARATE
 #define CONFIG_DEFAULT_DEVICE_TREE	link
 
+#define CONFIG_BOOTSTAGE
+#define CONFIG_BOOTSTAGE_REPORT
+#define CONFIG_BOOTSTAGE_FDT
+#define CONFIG_CMD_BOOTSTAGE
+/* Place to stash bootstage data from first-stage U-Boot */
+#define CONFIG_BOOTSTAGE_STASH		0x0110f000
+#define CONFIG_BOOTSTAGE_STASH_SIZE	0x7fc
+#define CONFIG_BOOTSTAGE_USER_COUNT	60
+
 /*-----------------------------------------------------------------------
  * Watchdog Configuration
  */
-- 
1.8.2.1



More information about the U-Boot mailing list