diff mbox

[U-Boot,v2,14/15] x86: Enable time command for coreboot

Message ID 1363018093-28979-15-git-send-email-sjg@chromium.org
State Accepted, archived
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass March 11, 2013, 4:08 p.m. UTC
This command is useful for measuring SPI flash load times and the like.
Enable gettime as well to obtain absolute time tick values.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
- Enable gettime command for coreboot also

 include/configs/coreboot.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 4826756..1a763ab 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -179,6 +179,8 @@ 
 #define CONFIG_CMD_SAVEENV
 #define CONFIG_CMD_SETGETDCR
 #define CONFIG_CMD_SOURCE
+#define CONFIG_CMD_TIME
+#define CONFIG_CMD_GETTIME
 #define CONFIG_CMD_XIMG
 #define CONFIG_CMD_SCSI