summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-12-09 11:31:08 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-12-09 11:31:08 +0000
commit0358e7b86479d62aa752002d9058f3220ffa5304 (patch)
treeedc452c15c148723c9e22ff815c74e7e613f3eb1 /bootloader
parent14b3108fa5ea7427b9cd51cece92eda863c1309f (diff)
downloadrockbox-0358e7b86479d62aa752002d9058f3220ffa5304.tar.gz
rockbox-0358e7b86479d62aa752002d9058f3220ffa5304.tar.bz2
rockbox-0358e7b86479d62aa752002d9058f3220ffa5304.zip
MPIO HD200, HD300: Make USB bridge handling more correct (this doesn't solve problems with USB inside rockbox on HD300 unfortunately).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28780 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/mpio_hd200_hd300.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader/mpio_hd200_hd300.c b/bootloader/mpio_hd200_hd300.c
index 97e49d552c..14f76354fb 100644
--- a/bootloader/mpio_hd200_hd300.c
+++ b/bootloader/mpio_hd200_hd300.c
@@ -492,6 +492,7 @@ void main(void)
/* init USB */
ide_power_enable(true);
sleep(HZ/20);
+ ata_enable(false);
usb_enable(true);
}
@@ -512,6 +513,7 @@ void main(void)
{
/* disable USB */
usb_enable(false);
+ ata_enable(true);
sleep(HZ);
ide_power_enable(false);
sleep(HZ);