summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-s5pc1xx/clk.h
diff options
context:
space:
mode:
authorNaveen Krishna CH <ch.naveen.samsung.com>2010-02-04 14:17:38 +0900
committertrix <trix@windriver.com>2010-04-03 15:24:25 -0500
commit6c71a8fec95a9e0f90fbc47469c389c6f35d96bc (patch)
tree5b83ce8d7544a138f73f32a74d6514a4f31fcaf1 /include/asm-arm/arch-s5pc1xx/clk.h
parent2ca551dd7ad6ec11418f113b1b50c96fdd15a370 (diff)
downloadu-boot-imx-6c71a8fec95a9e0f90fbc47469c389c6f35d96bc.zip
u-boot-imx-6c71a8fec95a9e0f90fbc47469c389c6f35d96bc.tar.gz
u-boot-imx-6c71a8fec95a9e0f90fbc47469c389c6f35d96bc.tar.bz2
S5PC100: Moves the Macros to a common header file
The get_pll_clk(int) API returns the PLL frequency based on the (int) argument which is defined locally in clock.c Moving that #define to common header file (clk.h) would be helpful when using the API from other files. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/asm-arm/arch-s5pc1xx/clk.h')
-rw-r--r--include/asm-arm/arch-s5pc1xx/clk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s5pc1xx/clk.h b/include/asm-arm/arch-s5pc1xx/clk.h
index f1aa44f..3e59abe 100644
--- a/include/asm-arm/arch-s5pc1xx/clk.h
+++ b/include/asm-arm/arch-s5pc1xx/clk.h
@@ -23,6 +23,12 @@
#ifndef __ASM_ARM_ARCH_CLK_H_
#define __ASM_ARM_ARCH_CLK_H_
+#define APLL 0
+#define MPLL 1
+#define EPLL 2
+#define HPLL 3
+#define VPLL 4
+
void s5pc1xx_clock_init(void);
extern unsigned long (*get_pll_clk)(int pllreg);