summaryrefslogtreecommitdiff
path: root/arch/arm/imx-common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:34 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:07:50 -0500
commit66ee69234795c0596f84b25f06b7fbc2e8ed214c (patch)
treee67321700886c597591624f825379a2d76dbd99c /arch/arm/imx-common
parent8ff43b03e9f38a6e136e2e20eec4e8b2eb4a1d3d (diff)
downloadu-boot-imx-66ee69234795c0596f84b25f06b7fbc2e8ed214c.zip
u-boot-imx-66ee69234795c0596f84b25f06b7fbc2e8ed214c.tar.gz
u-boot-imx-66ee69234795c0596f84b25f06b7fbc2e8ed214c.tar.bz2
arm: Move tbl to arch_global_data
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/imx-common')
-rw-r--r--arch/arm/imx-common/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/timer.c b/arch/arm/imx-common/timer.c
index b021903..de21e44 100644
--- a/arch/arm/imx-common/timer.c
+++ b/arch/arm/imx-common/timer.c
@@ -48,7 +48,7 @@ static struct mxc_gpt *cur_gpt = (struct mxc_gpt *)GPT1_BASE_ADDR;
DECLARE_GLOBAL_DATA_PTR;
-#define timestamp (gd->tbl)
+#define timestamp (gd->arch.tbl)
#define lastinc (gd->lastinc)
static inline unsigned long long tick_to_time(unsigned long long tick)