s5pc110: aquila: Add XCLKOUT set to XUSBXTI
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 13 Nov 2009 00:24:58 +0000 (09:24 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 13 Nov 2009 00:24:58 +0000 (09:24 +0900)
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
board/samsung/universal/lowlevel_init.S

index 5d0742e..d1a1955 100644 (file)
@@ -358,6 +358,12 @@ system_clock_init:
        ldr     r1, =0x30000000                 @ ONEDRAM_RATIO[31:28] 3 + 1
        str     r1, [r0, #0x318]                @ S5PC110_CLK_DIV6
 
+       /* XCLKOUT = XUSBXTI 24MHz */
+       add     r2, r0, #0xE000                 @ S5PC110_OTHERS
+       ldr     r1, [r2]
+       orr     r1, r1, #(0x3 << 8)             @ CLKOUT[9:8] 3 XUSBXTI
+       str     r1, [r2]
+
 200:
        /* wait at least 200us to stablize all clock */
        mov     r2, #0x10000