arm: Move lastinc to arch_global_data
Move this field into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index f447308..d7d4743 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -39,6 +39,7 @@
unsigned long timer_rate_hz;
unsigned long tbu;
unsigned long tbl;
+ unsigned long lastinc;
};
/*
@@ -66,7 +67,6 @@
#ifdef CONFIG_ARM
/* "static data" needed by most of timer.c on ARM platforms */
unsigned long long timer_reset_value;
- unsigned long lastinc;
#endif
#ifdef CONFIG_IXP425
unsigned long timestamp;