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

Simon Glass sjg at chromium.org
Mon Mar 11 17:08:12 CET 2013


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 at chromium.org>
---
Changes in v2:
- Enable gettime command for coreboot also

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

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
 
-- 
1.8.1.3



More information about the U-Boot mailing list