diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-01-17 06:50:27 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-01-17 06:50:27 +0000 |
commit | bcc0f88372fd2be986a5e279dd7e3bd556d6c984 (patch) | |
tree | 149db74c9cb02a1e4b219cb168053b22e41ae82b /firmware/target/arm/iriver/usb-target.h | |
parent | 62207228f717d0eb29aca5d1fbc155f151d6814e (diff) | |
download | rockbox-bcc0f88372fd2be986a5e279dd7e3bd556d6c984.tar.gz rockbox-bcc0f88372fd2be986a5e279dd7e3bd556d6c984.zip |
Convert PortalPlayer iRivers to use USB-mode enabled bootloader. The H10 5/6GB already has a pre-boot USB mode (so it's a little redundant there) but building them the same way is simpler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29067 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver/usb-target.h')
-rw-r--r-- | firmware/target/arm/iriver/usb-target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/usb-target.h b/firmware/target/arm/iriver/usb-target.h index 03aa2cbff7..034b012bdd 100644 --- a/firmware/target/arm/iriver/usb-target.h +++ b/firmware/target/arm/iriver/usb-target.h | |||
@@ -24,6 +24,10 @@ | |||
24 | #ifndef USB_TARGET_H | 24 | #ifndef USB_TARGET_H |
25 | #define USB_TARGET_H | 25 | #define USB_TARGET_H |
26 | 26 | ||
27 | #ifdef HAVE_BOOTLOADER_USB_MODE | ||
28 | #define USB_DRIVER_CLOSE | ||
29 | #endif | ||
30 | |||
27 | bool usb_init_device(void); | 31 | bool usb_init_device(void); |
28 | void usb_pin_init(void); /* Init the GPIO input only */ | 32 | void usb_pin_init(void); /* Init the GPIO input only */ |
29 | bool usb_plugged(void); /* Returns instantaneous state - always */ | 33 | bool usb_plugged(void); /* Returns instantaneous state - always */ |