summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/at91/timer.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:31 (GMT)
committerTom Rini <trini@ti.com>2013-02-01 20:07:49 (GMT)
commitf47e6ecd5d0cca61602a3d569b40a99d0bb7604a (patch)
tree548b5993e23446850eff60a2c662c6389f7fa97e /arch/arm/cpu/arm926ejs/at91/timer.c
parent5cb48582ac05931c66b00b46c60d3ee8c6fc7950 (diff)
downloadu-boot-f47e6ecd5d0cca61602a3d569b40a99d0bb7604a.tar.xz
at91: Move at91 global data into arch_global_data
Move these fields into arch_global_data. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/at91/timer.c')
-rw-r--r--arch/arm/cpu/arm926ejs/at91/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/at91/timer.c b/arch/arm/cpu/arm926ejs/at91/timer.c
index f70ce83..641ae3e 100644
--- a/arch/arm/cpu/arm926ejs/at91/timer.c
+++ b/arch/arm/cpu/arm926ejs/at91/timer.c
@@ -79,7 +79,7 @@ int timer_init(void)
/* Enable PITC */
writel(TIMER_LOAD_VAL | AT91_PIT_MR_EN , &pit->mr);
- gd->timer_rate_hz = gd->mck_rate_hz / 16;
+ gd->timer_rate_hz = gd->arch.mck_rate_hz / 16;
gd->tbu = gd->tbl = 0;
return 0;