From f8f3fab62ce4295e63f1e2e658e0753da473e4eb Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Tue, 18 May 2010 12:56:14 +0000 Subject: as3525 usb: build as3525v2 file based on CONFIG_USBOTG, and fix warnings build it on fuzev2 and clipv2 too, it should be the same controller as3525v1 file is only build for CONFIG_USBOTG == USBOTG_AS3525, no need to check for it in the .c file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26142 a1c6a512-1295-4272-9138-f99709370657 --- firmware/SOURCES | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'firmware/SOURCES') diff --git a/firmware/SOURCES b/firmware/SOURCES index 9528ed0308..fe141eb366 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -337,6 +337,8 @@ drivers/m66591.c target/arm/usb-drv-arc.c #elif CONFIG_USBOTG == USBOTG_AS3525 target/arm/as3525/usb-drv-as3525.c +#elif CONFIG_USBOTG == USBOTG_AS3525v2 +target/arm/as3525/usb-drv-as3525v2.c #elif CONFIG_USBOTG == USBOTG_ISP1583 drivers/isp1583.c #endif @@ -444,9 +446,6 @@ target/arm/as3525/scrollwheel-as3525.c #else /* AS3535v2 */ target/arm/as3525/sd-as3525v2.c #endif -#if CONFIG_CPU == AS3525v2 -target/arm/as3525/usb-drv-as3525v2.c -#endif target/arm/as3525/power-as3525.c target/arm/as3525/usb-as3525.c target/arm/as3525/dma-pl081.c -- cgit v1.2.3