summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-04-17 16:13:43 +0000
committerSimon Glass <sjg@chromium.org>2013-05-13 13:33:21 -0700
commit2e65959be679a2401b0f0fc02934f6b6d48f9fd8 (patch)
treef35cb734a3b032b1ae88cf31011230453d47cc97
parent158e7d059c3493f33147d4027dfa0306e1bd1179 (diff)
downloadu-boot-imx-2e65959be679a2401b0f0fc02934f6b6d48f9fd8.zip
u-boot-imx-2e65959be679a2401b0f0fc02934f6b6d48f9fd8.tar.gz
u-boot-imx-2e65959be679a2401b0f0fc02934f6b6d48f9fd8.tar.bz2
x86: Enable bootstage for coreboot
This is a convenient way of finding out where boottime is going. Enable it for coreboot. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/configs/coreboot.h9
1 files changed, 9 insertions, 0 deletions
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
*/