summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/system-as3525.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-05-18 09:58:52 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-05-18 09:58:52 +0000
commit22cfbee27489d3658ab2155c65bcdfedce7e750c (patch)
treeda28c1d243f518fbffa09bf625e4431a3c8811c7 /firmware/target/arm/as3525/system-as3525.c
parented96c935ecc38cbad99742551d1e8e4e6082b6ce (diff)
as3525v2: add usb driver stub, enable usb phy&core init
clip+: add USBOTG_ define and enable usb stack git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26132 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 6cce5e5a50..dbbe1a1905 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -325,7 +325,7 @@ void system_init(void)
CGU_PLLASUP = 0; /* enable PLLA */
while(!(CGU_INTCTRL & (1<<0))); /* wait until PLLA is locked */
-#if defined(USE_ROCKBOX_USB) || (AS3525_MCLK_SEL == AS3525_CLK_PLLB)
+#if (defined(USE_ROCKBOX_USB) && CONFIG_CPU==AS3525) || (AS3525_MCLK_SEL == AS3525_CLK_PLLB)
CGU_COUNTB = 0xff;
CGU_PLLB = AS3525_PLLB_SETTING;
CGU_PLLBSUP = 0; /* enable PLLB */