summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-30 15:35:52 +0800
committerSimon Glass <sjg@chromium.org>2015-11-19 20:13:41 -0700
commit9961a0b6fbe199cd7b08203415a905c4c7d0a731 (patch)
treeb0237f5dba73dc69f63d4d3dca28a1f4195c3cd0 /include
parent67521957605494a11fa5161dcc54757dc5b6b8a1 (diff)
sandbox: add a sandbox timer and basic test
Add a sandbox timer which get time from host os and a basic test. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sandbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 2a68203446..b0fe5010dc 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -19,7 +19,9 @@
#define CONFIG_IO_TRACE
#define CONFIG_CMD_IOTRACE
+#ifndef CONFIG_TIMER
#define CONFIG_SYS_TIMER_RATE 1000000
+#endif
#define CONFIG_SYS_STDIO_DEREGISTER