dm: sandbox: Add os_localtime() to obtain the system time
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:22 +0000 (12:37 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 02:58:20 +0000 (20:58 -0600)
commit94eefdee2f5db36d52e817a01b07c8255527e193
treeadb1ffa3737bbc59a7b2eb0da93144f953865012
parentaac5119822041febafdab3fc9ab6dbbe6ea96bff
dm: sandbox: Add os_localtime() to obtain the system time

Add a function to read the system time into U-Boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c
include/os.h