summaryrefslogtreecommitdiff
path: root/arch/sandbox
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/sandbox
parent67521957605494a11fa5161dcc54757dc5b6b8a1 (diff)
downloadu-boot-imx-9961a0b6fbe199cd7b08203415a905c4c7d0a731.zip
u-boot-imx-9961a0b6fbe199cd7b08203415a905c4c7d0a731.tar.gz
u-boot-imx-9961a0b6fbe199cd7b08203415a905c4c7d0a731.tar.bz2
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/sandbox')
-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 08f72ac..720ef93 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";
};