mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 18:54:39 +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:
parent
b4134e84cf
commit
c7a4e4dc0d
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user