From ff2040507af9fd56f75bca84ca2e0cab8aff1cea Mon Sep 17 00:00:00 2001 From: Joonyoung Shim Date: Thu, 12 Nov 2009 21:50:55 +0900 Subject: [PATCH] s5pc110: Remove XCLKOUT set for audio Signed-off-by: Joonyoung Shim --- board/samsung/universal/lowlevel_init.S | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/board/samsung/universal/lowlevel_init.S b/board/samsung/universal/lowlevel_init.S index cdaf0d4..5d0742e 100644 --- a/board/samsung/universal/lowlevel_init.S +++ b/board/samsung/universal/lowlevel_init.S @@ -342,11 +342,7 @@ system_clock_init: ldr r1, =0x829B0C01 @ 667MHz str r1, [r0, #0x108] /* S5PC110_EPLL_CON */ -#ifdef CONFIG_EPLL_50MHZ - ldr r1, =0x80640603 @ 50MHz VSEL 0 P 6 M 100 S 3 -#else ldr r1, =0x80600602 @ 96MHz VSEL 0 P 6 M 96 S 2 -#endif str r1, [r0, #0x110] /* S5PC110_VPLL_CON */ ldr r1, =0x806C0603 @ 54MHz @@ -362,24 +358,6 @@ system_clock_init: ldr r1, =0x30000000 @ ONEDRAM_RATIO[31:28] 3 + 1 str r1, [r0, #0x318] @ S5PC110_CLK_DIV6 - /* - * XCLKOUT = (FOUTAPLL/4) / (DIVVAL + 1) - * = (800 MHz/ 4) / (9 + 1) - * = 20 MHz - * - * XCLKOUT = (FOUTEPLL) / (DIVVAL + 1) - * = (50 MHz) / (1 + 1) - * = 25 MHz - */ -#ifdef CONFIG_EPLL_50MHZ - ldr r1, =0x00102000 @ DIVVAL[23:20] = 1 - @ CLKSEL[16:12] = 2 FOUTEPLL -#else - ldr r1, =0x00900000 @ DIVVAL[23:20] = 9 - @ CLKSEL[16:12] = 0 FOUTAPLL/4 -#endif - str r1, [r0, #0x500] @ S5PC110_CLK_OUT - 200: /* wait at least 200us to stablize all clock */ mov r2, #0x10000 -- 2.7.4