diff options
author | Naveen Krishna CH <ch.naveen.samsung.com> | 2010-02-04 14:17:38 +0900 |
---|---|---|
committer | trix <trix@windriver.com> | 2010-04-03 15:24:25 -0500 |
commit | 6c71a8fec95a9e0f90fbc47469c389c6f35d96bc (patch) | |
tree | 5b83ce8d7544a138f73f32a74d6514a4f31fcaf1 /cpu/arm_cortexa8/s5pc1xx/clock.c | |
parent | 2ca551dd7ad6ec11418f113b1b50c96fdd15a370 (diff) |
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 'cpu/arm_cortexa8/s5pc1xx/clock.c')
-rw-r--r-- | cpu/arm_cortexa8/s5pc1xx/clock.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cpu/arm_cortexa8/s5pc1xx/clock.c b/cpu/arm_cortexa8/s5pc1xx/clock.c index a9e78dd793d..19619f92cd9 100644 --- a/cpu/arm_cortexa8/s5pc1xx/clock.c +++ b/cpu/arm_cortexa8/s5pc1xx/clock.c @@ -25,12 +25,7 @@ #include <common.h> #include <asm/io.h> #include <asm/arch/clock.h> - -#define APLL 0 -#define MPLL 1 -#define EPLL 2 -#define HPLL 3 -#define VPLL 4 +#include <asm/arch/clk.h> #define CLK_M 0 #define CLK_D 1 |