commit | 495a5dc9e2d8e0d56274f3f1788e0c5b2c8f1ec6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 14 12:57:30 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Dec 02 18:23:13 2019 -0500 |
tree | 3e76715bb70bfe6019e0b2bbb7f665b5b7830b8d | |
parent | 2e3b8a2f9267060d0fd2163d2407f263b74e22c1 [diff] [blame] |
common: Move get_ticks() function out of common.h This function belongs in time.h so move it over and add a comment. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
diff --git a/common/bootretry.c b/common/bootretry.c index 47aaaa8..dac891f 100644 --- a/common/bootretry.c +++ b/common/bootretry.c
@@ -9,6 +9,7 @@ #include <cli.h> #include <env.h> #include <errno.h> +#include <time.h> #include <watchdog.h> #ifndef CONFIG_BOOT_RETRY_MIN