From 3a6d4791d70fc9f4adad7a0cbc1b808b7c942652 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Fri, 16 Feb 2007 22:13:21 +0000 Subject: No functional changes, just reorganising code: 1) Move ARC OTG USB (used in PP502x) driver code into it's own file, drivers/arcotg_udc.c. Hopefully in the future we will be able to adapt more of the Linux driver and add it to this file. 2) Rename mx31.h to arcotg_udc.h to reflect the file the code came from. It's also a more accurate name for the USB controller. 3) Get rid of one more inl()/outl() in usb-pp.c and use the relevant #define instead. 4) Add dr_controller_stop(). Not used yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12340 a1c6a512-1295-4272-9138-f99709370657 --- firmware/SOURCES | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/SOURCES') diff --git a/firmware/SOURCES b/firmware/SOURCES index d4447c22cc..9842689544 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -212,6 +212,8 @@ drivers/tlv320.c drivers/isp1362.c #elif CONFIG_USBOTG == USBOTG_M5636 drivers/m5636.c +#elif CONFIG_USBOTG == USBOTG_ARC +drivers/arcotg_udc.c #endif /* CONFIG_USBOTG */ #endif /* !defined(SIMULATOR) && !defined(BOOTLOADER) */ -- cgit v1.2.3