From 22cfbee27489d3658ab2155c65bcdfedce7e750c Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 18 May 2010 09:58:52 +0000 Subject: 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 --- firmware/target/arm/as3525/system-as3525.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/as3525/system-as3525.c') 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 */ -- cgit v1.2.3