diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 22:57:26 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-03 02:23:11 +0300 |
commit | 6887c5bed9d7dc26f8dbd196a5878c9c4a128d94 (patch) | |
tree | d121bf5587037ff6cb28356d764809c2f808b909 /drivers | |
parent | 6c03f9e618f4a94900bdd5857117811e21ffb959 (diff) | |
download | u-boot-6887c5bed9d7dc26f8dbd196a5878c9c4a128d94.tar.xz |
common: Move some time functions out of common.h
These functions belong in time.h so move them over and add comments.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/fsl/jr.c | 1 | ||||
-rw-r--r-- | drivers/i2c/fsl_i2c.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/fsl/jr.c b/drivers/crypto/fsl/jr.c index 3121762364..1ea9db6850 100644 --- a/drivers/crypto/fsl/jr.c +++ b/drivers/crypto/fsl/jr.c @@ -11,6 +11,7 @@ #include "jr.h" #include "jobdesc.h" #include "desc_constr.h" +#include <time.h> #ifdef CONFIG_FSL_CORENET #include <asm/fsl_pamu.h> #endif diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index bf8d52d5ad..bbbd6ef5bf 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c @@ -9,6 +9,7 @@ #include <common.h> #include <command.h> #include <i2c.h> /* Functional interface */ +#include <time.h> #include <asm/io.h> #include <asm/fsl_i2c.h> /* HW definitions */ #include <clk.h> |