Make the e200 bootloader able to load the OF again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16817 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
be185a1eaf
commit
c724974872
1 changed files with 6 additions and 0 deletions
|
@ -51,7 +51,10 @@ void usb_init_device(void)
|
|||
udelay(100000);
|
||||
|
||||
/* disable USB-devices until USB is detected via GPIO */
|
||||
#ifndef BOOTLOADER
|
||||
/* Disabling USB0 in the bootloader makes the OF not load */
|
||||
DEV_EN &= ~DEV_USB0;
|
||||
#endif
|
||||
DEV_EN &= ~DEV_USB1;
|
||||
DEV_INIT2 &= ~INIT_USB;
|
||||
|
||||
|
@ -75,7 +78,10 @@ void usb_enable(bool on)
|
|||
else {
|
||||
usb_core_exit();
|
||||
/* Disable USB devices */
|
||||
#ifndef BOOTLOADER
|
||||
/* Disabling USB0 in the bootloader makes the OF not load */
|
||||
DEV_EN &=~ DEV_USB0;
|
||||
#endif
|
||||
DEV_EN &=~ DEV_USB1;
|
||||
DEV_INIT2 &=~ INIT_USB;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue