diff options
author | Tom Rini <trini@konsulko.com> | 2015-05-08 14:46:59 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-08 14:46:59 (GMT) |
commit | 02ffb580e6ab7aaa7f6703ed35f489e97439cb65 (patch) | |
tree | 77cea28c53d54583a3acfa5534a8aa10054eb29c /include/os.h | |
parent | 57cc4e64c13bc5f42cb5e8572d2c46e25cf7aea1 (diff) | |
parent | a5e1bcdeebebabdc5d013fbd488f87a4e62ff411 (diff) | |
download | u-boot-fsl-qoriq-02ffb580e6ab7aaa7f6703ed35f489e97439cb65.tar.xz |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/os.h')
-rw-r--r-- | include/os.h | 11 |
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 |