summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-01-02 15:46:37 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-01-02 15:46:37 +0000
commit4f8e7250f4d8d9e214fb7eb8cb4cdfdeb5a44758 (patch)
treeac97056d6b3f19d6c1f88ef711e85611516e302d
parent53952460045e24f778cae9f5163b6cf46d28355f (diff)
downloadrockbox-4f8e7250f4d8d9e214fb7eb8cb4cdfdeb5a44758.tar.gz
rockbox-4f8e7250f4d8d9e214fb7eb8cb4cdfdeb5a44758.zip
iPod USB code has already been moved to the target tree so it's not used here any more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11884 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/usb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index f585544024..651c17a4b3 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -350,14 +350,6 @@ bool usb_detect(void)
#ifdef USB_PLAYERSTYLE
current_status = (PADR & 0x8000)?false:true;
#endif
-#ifdef USB_IPODSTYLE
- /* The following check is in the ipodlinux source, with the
- comment "USB2D_IDENT is bad" if USB2D_IDENT != 0x22FA05 */
- if (USB2D_IDENT != 0x22FA05) {
- return false;
- }
- current_status = (USB_STATUS & 0x800)?true:false;
-#endif
#ifdef USB_ISP1582
/* TODO: Implement USB_ISP1582 */
current_status = false;