summaryrefslogtreecommitdiffstats
path: root/arch
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 /arch
parent67521957605494a11fa5161dcc54757dc5b6b8a1 (diff)
downloadblackbird-obmc-uboot-9961a0b6fbe199cd7b08203415a905c4c7d0a731.tar.gz
blackbird-obmc-uboot-9961a0b6fbe199cd7b08203415a905c4c7d0a731.zip
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 'arch')
-rw-r--r--arch/sandbox/dts/sandbox.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts
index 08f72aceda..720ef932ff 100644
--- a/arch/sandbox/dts/sandbox.dts
+++ b/arch/sandbox/dts/sandbox.dts
@@ -177,6 +177,10 @@
sides = <4>;
};
+ timer {
+ compatible = "sandbox,timer";
+ };
+
tpm {
compatible = "google,sandbox-tpm";
};
OpenPOWER on IntegriCloud