Skip to content
Snippets Groups Projects
Commit 1045315d authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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's avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent f0143a86
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 0 deletions
......@@ -12,6 +12,7 @@
*/
#include <common.h>
#include <time.h>
#include <linux/types.h>
#include <asm/arch/ep93xx.h>
#include <asm/io.h>
......
......@@ -13,6 +13,7 @@
*/
#include <common.h>
#include <time.h>
#if defined (CONFIG_IMX)
#include <asm/arch/imx-regs.h>
......
......@@ -7,6 +7,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/arch/cpu.h>
#include <asm/arch/armada100.h>
......
......@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/arch/cpu.h>
#include <asm/arch/clk.h>
#include <asm/arch/timer.h>
......
......@@ -17,6 +17,7 @@
#include <common.h>
#include <div64.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
......
......@@ -10,6 +10,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/sys_proto.h>
......
......@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/spr_gpt.h>
......
......@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <div64.h>
#include <bootstage.h>
......
......@@ -5,6 +5,7 @@
#include <common.h>
#include <div64.h>
#include <time.h>
#include <asm/io.h>
#include <asm/iproc-common/timer.h>
#include <asm/iproc-common/sysmap.h>
......
......@@ -8,6 +8,7 @@
#include <common.h>
#include <div64.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/pwm.h>
#include <asm/arch/clk.h>
......
......@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch-stv0991/hardware.h>
#include <asm/arch-stv0991/stv0991_cgu.h>
......
......@@ -6,6 +6,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/timer.h>
......
......@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <div64.h>
#include <asm/arch/imx-regs.h>
......
......@@ -22,6 +22,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
DECLARE_GLOBAL_DATA_PTR;
......
......@@ -11,6 +11,7 @@
#include <common.h>
#include <SA-1100.h>
#include <time.h>
static ulong get_timer_masked (void)
{
......
......@@ -14,6 +14,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
......
......@@ -21,6 +21,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/timer_defs.h>
#include <div64.h>
......
......@@ -16,6 +16,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
#include <asm/arch/clock.h>
......
......@@ -8,6 +8,7 @@
*/
#include <common.h>
#include <time.h>
#include <asm/io.h>
#define UBOOT_CNTR 0 /* counter to use for uboot timer */
......
......@@ -6,6 +6,7 @@
#include <common.h>
#include <div64.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch-armv7/globaltimer.h>
#include <asm/arch/rmobile.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment