summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-at91/clk.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:31 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:07:49 -0500
commitf47e6ecd5d0cca61602a3d569b40a99d0bb7604a (patch)
tree548b5993e23446850eff60a2c662c6389f7fa97e /arch/arm/include/asm/arch-at91/clk.h
parent5cb48582ac05931c66b00b46c60d3ee8c6fc7950 (diff)
downloadu-boot-imx-f47e6ecd5d0cca61602a3d569b40a99d0bb7604a.zip
u-boot-imx-f47e6ecd5d0cca61602a3d569b40a99d0bb7604a.tar.gz
u-boot-imx-f47e6ecd5d0cca61602a3d569b40a99d0bb7604a.tar.bz2
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/include/asm/arch-at91/clk.h')
-rw-r--r--arch/arm/include/asm/arch-at91/clk.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/include/asm/arch-at91/clk.h b/arch/arm/include/asm/arch-at91/clk.h
index 1e8522b..d4852a3 100644
--- a/arch/arm/include/asm/arch-at91/clk.h
+++ b/arch/arm/include/asm/arch-at91/clk.h
@@ -31,37 +31,37 @@
static inline unsigned long get_cpu_clk_rate(void)
{
DECLARE_GLOBAL_DATA_PTR;
- return gd->cpu_clk_rate_hz;
+ return gd->arch.cpu_clk_rate_hz;
}
static inline unsigned long get_main_clk_rate(void)
{
DECLARE_GLOBAL_DATA_PTR;
- return gd->main_clk_rate_hz;
+ return gd->arch.main_clk_rate_hz;
}
static inline unsigned long get_mck_clk_rate(void)
{
DECLARE_GLOBAL_DATA_PTR;
- return gd->mck_rate_hz;
+ return gd->arch.mck_rate_hz;
}
static inline unsigned long get_plla_clk_rate(void)
{
DECLARE_GLOBAL_DATA_PTR;
- return gd->plla_rate_hz;
+ return gd->arch.plla_rate_hz;
}
static inline unsigned long get_pllb_clk_rate(void)
{
DECLARE_GLOBAL_DATA_PTR;
- return gd->pllb_rate_hz;
+ return gd->arch.pllb_rate_hz;
}
static inline u32 get_pllb_init(void)
{
DECLARE_GLOBAL_DATA_PTR;
- return gd->at91_pllb_usb_init;
+ return gd->arch.at91_pllb_usb_init;
}
static inline unsigned long get_macb_pclk_rate(unsigned int dev_id)