[U-Boot] [PATCH] test: add sandbox timer to test.dts

Thomas Chou thomas at wytron.com.tw
Fri Dec 11 09:27:34 CET 2015


Add missing sandbox timer to test.dts, so that test-dm works.

Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
---
 arch/sandbox/dts/test.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index b6d9a15..2e0d320 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -279,6 +279,11 @@
 			0x38 8>;
 	};
 
+	timer {
+		compatible = "sandbox,timer";
+		clock-frequency = <1000000>;
+	};
+
 	uart0: serial {
 		compatible = "sandbox,serial";
 		u-boot,dm-pre-reloc;
-- 
2.5.0



More information about the U-Boot mailing list