diff mbox

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

Message ID 1449822454-15413-1-git-send-email-thomas@wytron.com.tw
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Thomas Chou Dec. 11, 2015, 8:27 a.m. UTC
Add missing sandbox timer to test.dts, so that test-dm works.

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

Comments

Simon Glass Dec. 19, 2015, 8:30 p.m. UTC | #1
On 11 December 2015 at 01:27, Thomas Chou <thomas@wytron.com.tw> wrote:
> Add missing sandbox timer to test.dts, so that test-dm works.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
>  arch/sandbox/dts/test.dts | 5 +++++
>  1 file changed, 5 insertions(+)

Acked-by: Simon Glass <sjg@chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg@chromium.org>
Simon Glass Dec. 19, 2015, 10:24 p.m. UTC | #2
Applied to u-boot-dm/next.
Simon Glass Jan. 3, 2016, 11:05 p.m. UTC | #3
On 19 December 2015 at 15:24, Simon Glass <sjg@chromium.org> wrote:
> Applied to u-boot-dm/next.

Also

Applied to u-boot-dm/master, thanks!
diff mbox

Patch

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;