diff options
author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:32 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-01 15:07:49 -0500 |
commit | b339051c0d45599c3c874141c52d912d78991dd4 (patch) | |
tree | 1a78d10e99fe38a735ef9de3884709b1f3966059 /arch/arm/include/asm | |
parent | f47e6ecd5d0cca61602a3d569b40a99d0bb7604a (diff) | |
download | u-boot-imx-b339051c0d45599c3c874141c52d912d78991dd4.zip u-boot-imx-b339051c0d45599c3c874141c52d912d78991dd4.tar.gz u-boot-imx-b339051c0d45599c3c874141c52d912d78991dd4.tar.bz2 |
arm: Move timer_rate_hz into 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/include/asm')
-rw-r--r-- | arch/arm/include/asm/global_data.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index d147899..eb8c69a 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -35,6 +35,8 @@ struct arch_global_data { unsigned long pllb_rate_hz; unsigned long at91_pllb_usb_init; #endif + /* "static data" needed by most of timer.c on ARM platforms */ + unsigned long timer_rate_hz; }; /* @@ -61,7 +63,6 @@ typedef struct global_data { #endif #ifdef CONFIG_ARM /* "static data" needed by most of timer.c on ARM platforms */ - unsigned long timer_rate_hz; unsigned long tbl; unsigned long tbu; unsigned long long timer_reset_value; |