mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
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>
This commit is contained in:
parent
f687ebf82d
commit
2167f2715e
@ -25,12 +25,7 @@
|
|||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/clock.h>
|
#include <asm/arch/clock.h>
|
||||||
|
#include <asm/arch/clk.h>
|
||||||
#define APLL 0
|
|
||||||
#define MPLL 1
|
|
||||||
#define EPLL 2
|
|
||||||
#define HPLL 3
|
|
||||||
#define VPLL 4
|
|
||||||
|
|
||||||
#define CLK_M 0
|
#define CLK_M 0
|
||||||
#define CLK_D 1
|
#define CLK_D 1
|
||||||
|
@ -23,6 +23,12 @@
|
|||||||
#ifndef __ASM_ARM_ARCH_CLK_H_
|
#ifndef __ASM_ARM_ARCH_CLK_H_
|
||||||
#define __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);
|
void s5pc1xx_clock_init(void);
|
||||||
|
|
||||||
extern unsigned long (*get_pll_clk)(int pllreg);
|
extern unsigned long (*get_pll_clk)(int pllreg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user