summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/as3525/usb-as3525.c4
-rw-r--r--firmware/target/arm/as3525/usb-target.h2
-rw-r--r--firmware/target/arm/imx233/usb-target.h1
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/usb-target.h1
-rw-r--r--firmware/target/arm/iriver/usb-target.h1
-rw-r--r--firmware/target/arm/pbell/vibe500/usb-target.h1
-rw-r--r--firmware/target/arm/pnx0101/usb-target.h29
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h26
-rw-r--r--firmware/target/arm/s5l8700/usb-target.h24
-rw-r--r--firmware/target/arm/tms320dm320/creative-zvm/usb-target.h1
-rw-r--r--firmware/target/arm/tms320dm320/sansa-connect/usb-target.h1
-rw-r--r--firmware/target/arm/usb-target.h1
12 files changed, 4 insertions, 88 deletions
diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c
index ba4cbc4dda..288ee5b64b 100644
--- a/firmware/target/arm/as3525/usb-as3525.c
+++ b/firmware/target/arm/as3525/usb-as3525.c
@@ -79,3 +79,7 @@ int usb_detect(void)
79{ 79{
80 return usb_status; 80 return usb_status;
81} 81}
82
83void usb_init_device(void)
84{
85}
diff --git a/firmware/target/arm/as3525/usb-target.h b/firmware/target/arm/as3525/usb-target.h
index 3643cf84b6..9cafced050 100644
--- a/firmware/target/arm/as3525/usb-target.h
+++ b/firmware/target/arm/as3525/usb-target.h
@@ -21,8 +21,6 @@
21#ifndef USB_TARGET_H 21#ifndef USB_TARGET_H
22#define USB_TARGET_H 22#define USB_TARGET_H
23 23
24static inline void usb_init_device(void) { }
25
26int usb_detect(void); 24int usb_detect(void);
27void usb_insert_int(void); 25void usb_insert_int(void);
28void usb_remove_int(void); 26void usb_remove_int(void);
diff --git a/firmware/target/arm/imx233/usb-target.h b/firmware/target/arm/imx233/usb-target.h
index 8d6c0af372..00cef2c060 100644
--- a/firmware/target/arm/imx233/usb-target.h
+++ b/firmware/target/arm/imx233/usb-target.h
@@ -27,7 +27,6 @@
27#define USB_DRIVER_CLOSE 27#define USB_DRIVER_CLOSE
28#endif 28#endif
29 29
30void usb_init_device(void);
31int usb_detect(void); 30int usb_detect(void);
32void usb_insert_int(void); 31void usb_insert_int(void);
33void usb_remove_int(void); 32void usb_remove_int(void);
diff --git a/firmware/target/arm/imx31/gigabeat-s/usb-target.h b/firmware/target/arm/imx31/gigabeat-s/usb-target.h
index 7931058241..961b947e14 100644
--- a/firmware/target/arm/imx31/gigabeat-s/usb-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/usb-target.h
@@ -26,7 +26,6 @@
26#endif 26#endif
27 27
28void usb_connect_event(void); 28void usb_connect_event(void);
29void usb_init_device(void);
30/* Read the immediate state of the cable from the PMIC */ 29/* Read the immediate state of the cable from the PMIC */
31bool usb_plugged(void); 30bool usb_plugged(void);
32 31
diff --git a/firmware/target/arm/iriver/usb-target.h b/firmware/target/arm/iriver/usb-target.h
index 034b012bdd..a0905ebe51 100644
--- a/firmware/target/arm/iriver/usb-target.h
+++ b/firmware/target/arm/iriver/usb-target.h
@@ -28,7 +28,6 @@
28#define USB_DRIVER_CLOSE 28#define USB_DRIVER_CLOSE
29#endif 29#endif
30 30
31bool usb_init_device(void);
32void usb_pin_init(void); /* Init the GPIO input only */ 31void usb_pin_init(void); /* Init the GPIO input only */
33bool usb_plugged(void); /* Returns instantaneous state - always */ 32bool usb_plugged(void); /* Returns instantaneous state - always */
34 33
diff --git a/firmware/target/arm/pbell/vibe500/usb-target.h b/firmware/target/arm/pbell/vibe500/usb-target.h
index fb51b990c8..2cedf514c5 100644
--- a/firmware/target/arm/pbell/vibe500/usb-target.h
+++ b/firmware/target/arm/pbell/vibe500/usb-target.h
@@ -24,7 +24,6 @@
24#ifndef USB_TARGET_H 24#ifndef USB_TARGET_H
25#define USB_TARGET_H 25#define USB_TARGET_H
26 26
27bool usb_init_device(void);
28void usb_pin_init(void); /* Init the GPIO input only */ 27void usb_pin_init(void); /* Init the GPIO input only */
29 28
30#endif 29#endif
diff --git a/firmware/target/arm/pnx0101/usb-target.h b/firmware/target/arm/pnx0101/usb-target.h
index a01a9768e9..e69de29bb2 100644
--- a/firmware/target/arm/pnx0101/usb-target.h
+++ b/firmware/target/arm/pnx0101/usb-target.h
@@ -1,29 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: usb-target.h 11494 2006-11-10 07:43:36Z tomal $
9 *
10 * Copyright (C) 2006 by Barry Wardelll
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/* Based off x5 version */
23
24#ifndef USB_TARGET_H
25#define USB_TARGET_H
26
27bool usb_init_device(void);
28
29#endif
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h b/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
index aba5f55a46..e69de29bb2 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
@@ -1,26 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2006 by Linus Nielsen Feltzing
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#ifndef USB_TARGET_H
22#define USB_TARGET_H
23
24void usb_init_device(void);
25
26#endif
diff --git a/firmware/target/arm/s5l8700/usb-target.h b/firmware/target/arm/s5l8700/usb-target.h
index 2c9f841773..e69de29bb2 100644
--- a/firmware/target/arm/s5l8700/usb-target.h
+++ b/firmware/target/arm/s5l8700/usb-target.h
@@ -1,24 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2010 by Bertrik Sikken
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22 void usb_init_device(void);
23
24
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/usb-target.h b/firmware/target/arm/tms320dm320/creative-zvm/usb-target.h
index 6b56d8c5c0..9415480d88 100644
--- a/firmware/target/arm/tms320dm320/creative-zvm/usb-target.h
+++ b/firmware/target/arm/tms320dm320/creative-zvm/usb-target.h
@@ -75,7 +75,6 @@
75 75
76#include <stdbool.h> 76#include <stdbool.h>
77int usb_detect(void); 77int usb_detect(void);
78void usb_init_device(void);
79bool usb_drv_connected(void); 78bool usb_drv_connected(void);
80 79
81#endif 80#endif
diff --git a/firmware/target/arm/tms320dm320/sansa-connect/usb-target.h b/firmware/target/arm/tms320dm320/sansa-connect/usb-target.h
index 6142b09f0b..3e8aa14a15 100644
--- a/firmware/target/arm/tms320dm320/sansa-connect/usb-target.h
+++ b/firmware/target/arm/tms320dm320/sansa-connect/usb-target.h
@@ -26,7 +26,6 @@
26 26
27#include <stdbool.h> 27#include <stdbool.h>
28int usb_detect(void); 28int usb_detect(void);
29void usb_init_device(void);
30bool usb_drv_connected(void); 29bool usb_drv_connected(void);
31 30
32#endif 31#endif
diff --git a/firmware/target/arm/usb-target.h b/firmware/target/arm/usb-target.h
index 7342f2aafa..68418c9208 100644
--- a/firmware/target/arm/usb-target.h
+++ b/firmware/target/arm/usb-target.h
@@ -21,7 +21,6 @@
21#ifndef USB_TARGET_H 21#ifndef USB_TARGET_H
22#define USB_TARGET_H 22#define USB_TARGET_H
23 23
24void usb_init_device(void);
25void usb_insert_int(void); 24void usb_insert_int(void);
26void firewire_insert_int(void); 25void firewire_insert_int(void);
27void usb_pin_init(void); /* Init the GPIO input only */ 26void usb_pin_init(void); /* Init the GPIO input only */