Disable USB before enabling ATA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@692 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a97c4419ed
commit
a95d956316
1 changed files with 2 additions and 2 deletions
|
@ -323,8 +323,8 @@ int ata_init(void)
|
|||
|
||||
led(false);
|
||||
|
||||
/* activate ATA */
|
||||
PADR &= ~0x80;
|
||||
PADR |= 0x800; /* disable USB */
|
||||
PADR &= ~0x80; /* activate ATA */
|
||||
|
||||
if (master_slave())
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue