altos/lpc: Don't disable all of the clocks just yet, USB doesn't work
authorKeith Packard <keithp@keithp.com>
Mon, 17 Jun 2013 05:31:31 +0000 (22:31 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 17 Jun 2013 05:31:31 +0000 (22:31 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_timer_lpc.c

index 73a0e258c6f1974f749b37880508d92904a71c08..62235d1e463026088ac11e4dd0b059752702acff 100644 (file)
@@ -178,6 +178,7 @@ ao_clock_init(void)
        lpc_scb.usbclkdiv = 0;
        lpc_scb.clkoutdiv = 0;
 
+#if 0
        /* Power down everything we don't need */
        lpc_scb.pdruncfg = ((1 << LPC_SCB_PDRUNCFG_IRCOUT_PD) |
                            (1 << LPC_SCB_PDRUNCFG_IRC_PD) |
@@ -188,4 +189,5 @@ ao_clock_init(void)
                            (1 << LPC_SCB_PDRUNCFG_USBPAD_PD) |
                            (1 << 11) |
                            (7 << 13));
+#endif
 }