[PATCH 1/5] fix-kill-clocks-unused.patch
Andy Green
andy at openmoko.com
Fri Aug 22 01:17:28 CEST 2008
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 at openmoko.com>
---
src/start.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/start.S b/src/start.S
index ef7ff2d..7e02ecf 100644
--- a/src/start.S
+++ b/src/start.S
@@ -116,9 +116,9 @@ start_code:
mov r1, #CLKDIVN_val
str r1, [r0]
- /* enable uart */
+ /* enable only CPU peripheral block clocks we actually use */
ldr r0, =0x4c00000c /* clkcon */
- ldr r1, =0x7fff0 /* all clocks on */
+ ldr r1, =0x3d10 /* uart, pwm, gpio, nand clocks on */
str r1, [r0]
/* gpio UART2 init, H port */
More information about the openmoko-kernel
mailing list