
On 30 October 2015 at 00:35, Thomas Chou thomas@wytron.com.tw wrote:
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
v2 split board_f.c to another patch as suggested by Simon. drop the penultimate comma in of_match ids.
arch/sandbox/dts/sandbox.dts | 4 ++ board/sandbox/sandbox.c | 2 + configs/sandbox_defconfig | 2 + doc/device-tree-bindings/timer/sandbox_timer.txt | 7 ++++ drivers/timer/Kconfig | 7 ++++ drivers/timer/Makefile | 1 + drivers/timer/sandbox_timer.c | 53 ++++++++++++++++++++++++ include/configs/sandbox.h | 2 + test/dm/Makefile | 1 + test/dm/timer.c | 27 ++++++++++++ 10 files changed, 106 insertions(+) create mode 100644 doc/device-tree-bindings/timer/sandbox_timer.txt create mode 100644 drivers/timer/sandbox_timer.c create mode 100644 test/dm/timer.c
Applied to u-boot-dm, thanks!