diff options
| author | Simon Glass <[email protected]> | 2019-11-14 12:57:26 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-12-02 18:23:11 -0500 |
| commit | 6887c5bed9d7dc26f8dbd196a5878c9c4a128d94 (patch) | |
| tree | d121bf5587037ff6cb28356d764809c2f808b909 /drivers | |
| parent | 6c03f9e618f4a94900bdd5857117811e21ffb959 (diff) | |
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
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 31217623649..1ea9db6850f 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 bf8d52d5ad5..bbbd6ef5bfd 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> |
