From: Keith Packard Date: Mon, 17 Jun 2013 05:31:31 +0000 (-0700) Subject: altos/lpc: Don't disable all of the clocks just yet, USB doesn't work X-Git-Tag: 1.2.9.4~163 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=d040adeef9df4cda31dce603db81dc7ce19ec0d1 altos/lpc: Don't disable all of the clocks just yet, USB doesn't work Signed-off-by: Keith Packard --- diff --git a/src/lpc/ao_timer_lpc.c b/src/lpc/ao_timer_lpc.c index 73a0e258..62235d1e 100644 --- a/src/lpc/ao_timer_lpc.c +++ b/src/lpc/ao_timer_lpc.c @@ -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 }