]> git.sur5r.net Git - u-boot/commit
timer: sandbox: Use device tree to pass the clock frequency
authorBin Meng <bmeng.cn@gmail.com>
Fri, 13 Nov 2015 08:11:17 +0000 (00:11 -0800)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:23:51 +0000 (06:23 -0700)
commitf838f124522ea4fb5202c1b584b4706aa48ee144
treea95f0a80de4de52db5f515b0010650e9d5807249
parent9e360a5c9cac27c40547bc2e0b81bbadeffb3ca2
timer: sandbox: Use device tree to pass the clock frequency

We should use device tree to pass the clock frequency of the timer
instead of hardcoded in the driver codes.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
drivers/timer/sandbox_timer.c