diff options
author | Tom Rini <trini@konsulko.com> | 2019-06-05 15:53:18 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-06-05 15:53:18 -0400 |
commit | dbbb1c43f26cb28b64df80b72fffbaf2801e8a30 (patch) | |
tree | 6f60c48458e4fb975b0e602cff637c2e65a270cf /include | |
parent | 2253e40caef5b45bcae2ccdb238f9cf037eefc0b (diff) | |
parent | 4b27a761321fd17536e02644d0ec0373150eb570 (diff) | |
download | u-boot-dbbb1c43f26cb28b64df80b72fffbaf2801e8a30.zip u-boot-dbbb1c43f26cb28b64df80b72fffbaf2801e8a30.tar.gz u-boot-dbbb1c43f26cb28b64df80b72fffbaf2801e8a30.tar.bz2 |
Merge tag 'efi-2019-07-rc4-2' of git://git.denx.de/u-boot-efi
Pull request for UEFI sub-system for v2019.07-rc4-2
Support for managing the non-volatile attribute of UEFI variables
is added though we do not have a backend for persistence yet.
Error messages for changes of UEFI variables are provided.
UEFI boottime service implementations are corrected.
Diffstat (limited to 'include')
-rw-r--r-- | include/time.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 9fd0d73..1e9b369 100644 --- a/include/time.h +++ b/include/time.h @@ -4,6 +4,7 @@ #define _TIME_H #include <linux/typecheck.h> +#include <linux/types.h> unsigned long get_timer(unsigned long base); @@ -21,6 +22,14 @@ unsigned long timer_get_us(void); */ void timer_test_add_offset(unsigned long offset); +/** + * usec_to_tick() - convert microseconds to clock ticks + * + * @usec: duration in microseconds + * Return: duration in clock ticks + */ +uint64_t usec_to_tick(unsigned long usec); + /* * These inlines deal with timer wrapping correctly. You are * strongly encouraged to use them |