#include <asm/io.h>
#include <lcd.h>
+#include <asm/arch/clk.h>
#include <asm/arch/cpu.h>
#include <asm/arch/regs-fb.h>
#include <asm/arch/hardware.h>
static unsigned long *lcd_base_addr;
static vidinfo_t *pvid = NULL;
-extern unsigned long get_pll_clk(int pllreg);
-
void s5pc_fimd_lcd_init_mem(u_long screen_base, u_long fb_size, u_long palette_size)
{
lcd_base_addr = (unsigned long *)screen_base;
printf("get_pll_clk is null.\n");
return;
}
- //src_clock = get_pll_clk(MPLL);
- src_clock = 667000000;
+ src_clock = get_pll_clk(MPLL);
cfg = readl(ctrl_base + S5P_VIDCON0);
cfg &= ~(S5P_VIDCON0_CLKSEL_MASK | S5P_VIDCON0_CLKVALUP_MASK | \