summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:49:10 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:45 -0500
commit3d0f8c8f8072a3f2844fc54bfaf2a42026903755 (patch)
treee2457b1cde899c21cdd41d3ca46fbe9763f7d250 /arch/avr32/include
parent1c865d58974cf3a45f87e65c3f348b5b9e398990 (diff)
downloadblackbird-obmc-uboot-3d0f8c8f8072a3f2844fc54bfaf2a42026903755.tar.gz
blackbird-obmc-uboot-3d0f8c8f8072a3f2844fc54bfaf2a42026903755.zip
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/include')
-rw-r--r--arch/avr32/include/asm/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/include/asm/global_data.h b/arch/avr32/include/asm/global_data.h
index 3be8628784..aeb6605cb7 100644
--- a/arch/avr32/include/asm/global_data.h
+++ b/arch/avr32/include/asm/global_data.h
@@ -25,6 +25,7 @@
/* Architecture-specific global data */
struct arch_global_data {
unsigned long stack_end; /* highest stack address */
+ unsigned long cpu_hz; /* cpu core clock frequency */
};
/*
@@ -46,7 +47,6 @@ typedef struct global_data {
unsigned long reloc_off; /* Relocation Offset */
unsigned long env_addr; /* Address of env struct */
unsigned long env_valid; /* Checksum of env valid? */
- unsigned long cpu_hz; /* cpu core clock frequency */
#if defined(CONFIG_LCD)
void *fb_base; /* framebuffer address */
#endif
OpenPOWER on IntegriCloud