summaryrefslogtreecommitdiff
path: root/include/os.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-05-08 10:46:59 -0400
committerTom Rini <trini@konsulko.com>2015-05-08 10:46:59 -0400
commit02ffb580e6ab7aaa7f6703ed35f489e97439cb65 (patch)
tree77cea28c53d54583a3acfa5534a8aa10054eb29c /include/os.h
parent57cc4e64c13bc5f42cb5e8572d2c46e25cf7aea1 (diff)
parenta5e1bcdeebebabdc5d013fbd488f87a4e62ff411 (diff)
downloadu-boot-imx-02ffb580e6ab7aaa7f6703ed35f489e97439cb65.zip
u-boot-imx-02ffb580e6ab7aaa7f6703ed35f489e97439cb65.tar.gz
u-boot-imx-02ffb580e6ab7aaa7f6703ed35f489e97439cb65.tar.bz2
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/os.h')
-rw-r--r--include/os.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h
index a758f09..ffbdce8 100644
--- a/include/os.h
+++ b/include/os.h
@@ -13,6 +13,7 @@
#include <linux/types.h>
+struct rtc_time;
struct sandbox_state;
/**
@@ -277,4 +278,14 @@ int os_read_ram_buf(const char *fname);
*/
int os_jump_to_image(const void *dest, int size);
+/**
+ * Read the current system time
+ *
+ * This reads the current Local Time and places it into the provided
+ * structure.
+ *
+ * @param rt Place to put system time
+ */
+void os_localtime(struct rtc_time *rt);
+
#endif