/*
* CLK_SRC_TOP0
* MUX_ONENAND_SEL[28] 0: DOUT133, 1: DOUT166
+ * MUX_VPLL_SEL[8] 0: FINPLL, 1: FOUTVPLL
+ * MUX_EPLL_SEL[4] 0: FINPLL, 1: FOUTEPLL
*/
- ldr r1, =0x10000000
+ ldr r1, =0x10000110
ldr r2, =0x0C210 @ CLK_SRC_TOP
str r1, [r0, r2]
check_battery(1);
}
-/**
- * setup machine specific clocks.
- */
-static void setup_clock(void)
-{
- struct s5pc210_clock *clk =
- (struct s5pc210_clock *)samsung_get_base_clock();
- unsigned int sel;
-
- sel = readl(&clk->src_top0);
- /* set source clock for VPLL to FOUTVPLL. */
- sel |= (1 << 8);
- writel(sel, &clk->src_top0);
-}
-
int board_init(void)
{
gpio1 = (struct s5pc210_gpio_part1 *) S5PC210_GPIO_PART1_BASE;
gd->bd->bi_arch_number = MACH_TYPE;
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
- /* setup machine specific clocks. */
- setup_clock();
-
return 0;
}