forked from len0rd/rockbox
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);
|
led(false);
|
||||||
|
|
||||||
/* activate ATA */
|
PADR |= 0x800; /* disable USB */
|
||||||
PADR &= ~0x80;
|
PADR &= ~0x80; /* activate ATA */
|
||||||
|
|
||||||
if (master_slave())
|
if (master_slave())
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue