diff options
author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:49:10 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:45 -0500 |
commit | 3d0f8c8f8072a3f2844fc54bfaf2a42026903755 (patch) | |
tree | e2457b1cde899c21cdd41d3ca46fbe9763f7d250 /arch/avr32/lib/bootm.c | |
parent | 1c865d58974cf3a45f87e65c3f348b5b9e398990 (diff) |
avr32: Move cpu_hz 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/avr32/lib/bootm.c')
-rw-r--r-- | arch/avr32/lib/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/lib/bootm.c b/arch/avr32/lib/bootm.c index 74ebeca058..87f3f9c35d 100644 --- a/arch/avr32/lib/bootm.c +++ b/arch/avr32/lib/bootm.c @@ -109,7 +109,7 @@ static struct tag *setup_clock_tags(struct tag *params) params->hdr.size = tag_size(tag_clock); params->u.clock.clock_id = ACLOCK_BOOTCPU; params->u.clock.clock_flags = 0; - params->u.clock.clock_hz = gd->cpu_hz; + params->u.clock.clock_hz = gd->arch.cpu_hz; #ifdef CONFIG_AT32AP7000 /* |