common: Move some time functions out of common.h
authorSimon Glass <sjg@chromium.org>
Thu, 14 Nov 2019 19:57:26 +0000 (12:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2019 23:23:11 +0000 (18:23 -0500)
commit6887c5bed9d7dc26f8dbd196a5878c9c4a128d94
treed121bf5587037ff6cb28356d764809c2f808b909
parent6c03f9e618f4a94900bdd5857117811e21ffb959
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>
12 files changed:
arch/arm/cpu/armv7/ls102xa/timer.c
arch/arm/cpu/armv8/generic_timer.c
arch/arm/mach-imx/syscounter.c
arch/arm/mach-imx/timer.c
arch/m68k/lib/time.c
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
arch/powerpc/cpu/mpc8xxx/srio.c
arch/powerpc/lib/time.c
drivers/crypto/fsl/jr.c
drivers/i2c/fsl_i2c.c
include/common.h
include/time.h