1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-26 12:02:50 +02:00

fix-kill-clocks-unused.patch

We leave a lot of funny clocks up in things like camera unit.  This
pares it down to just what we use in Qi.

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:37 +00:00 committed by Andy Green
parent b4134e84cf
commit c7a4e4dc0d

View File

@ -116,9 +116,9 @@ start_code:
mov r1, #CLKDIVN_val mov r1, #CLKDIVN_val
str r1, [r0] str r1, [r0]
/* enable uart */ /* enable only CPU peripheral block clocks we actually use */
ldr r0, =0x4c00000c /* clkcon */ ldr r0, =0x4c00000c /* clkcon */
ldr r1, =0x7fff0 /* all clocks on */ ldr r1, =0x3d10 /* uart, pwm, gpio, nand clocks on */
str r1, [r0] str r1, [r0]
/* gpio UART2 init, H port */ /* gpio UART2 init, H port */