diff options
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/usb-as3525.c | 4 | ||||
-rw-r--r-- | firmware/target/arm/as3525/usb-target.h | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx233/usb-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/usb-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/iriver/usb-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/pbell/vibe500/usb-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/pnx0101/usb-target.h | 29 | ||||
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h | 26 | ||||
-rw-r--r-- | firmware/target/arm/s5l8700/usb-target.h | 24 | ||||
-rw-r--r-- | firmware/target/arm/tms320dm320/creative-zvm/usb-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/tms320dm320/sansa-connect/usb-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/usb-target.h | 1 |
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 | |||
83 | void 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 | ||
24 | static inline void usb_init_device(void) { } | ||
25 | |||
26 | int usb_detect(void); | 24 | int usb_detect(void); |
27 | void usb_insert_int(void); | 25 | void usb_insert_int(void); |
28 | void usb_remove_int(void); | 26 | void 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 | ||
30 | void usb_init_device(void); | ||
31 | int usb_detect(void); | 30 | int usb_detect(void); |
32 | void usb_insert_int(void); | 31 | void usb_insert_int(void); |
33 | void usb_remove_int(void); | 32 | void 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 | ||
28 | void usb_connect_event(void); | 28 | void usb_connect_event(void); |
29 | void 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 */ |
31 | bool usb_plugged(void); | 30 | bool 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 | ||
31 | bool usb_init_device(void); | ||
32 | void usb_pin_init(void); /* Init the GPIO input only */ | 31 | void usb_pin_init(void); /* Init the GPIO input only */ |
33 | bool usb_plugged(void); /* Returns instantaneous state - always */ | 32 | bool 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 | ||
27 | bool usb_init_device(void); | ||
28 | void usb_pin_init(void); /* Init the GPIO input only */ | 27 | void 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 | |||
27 | bool 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 | |||
24 | void 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> |
77 | int usb_detect(void); | 77 | int usb_detect(void); |
78 | void usb_init_device(void); | ||
79 | bool usb_drv_connected(void); | 78 | bool 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> |
28 | int usb_detect(void); | 28 | int usb_detect(void); |
29 | void usb_init_device(void); | ||
30 | bool usb_drv_connected(void); | 29 | bool 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 | ||
24 | void usb_init_device(void); | ||
25 | void usb_insert_int(void); | 24 | void usb_insert_int(void); |
26 | void firewire_insert_int(void); | 25 | void firewire_insert_int(void); |
27 | void usb_pin_init(void); /* Init the GPIO input only */ | 26 | void usb_pin_init(void); /* Init the GPIO input only */ |