forked from len0rd/rockbox
Cleaned up the hardware init in the boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5810 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9ae46dca9c
commit
a0ed6077a4
1 changed files with 0 additions and 11 deletions
|
|
@ -150,17 +150,6 @@ int main(void)
|
||||||
start_iriver_fw();
|
start_iriver_fw();
|
||||||
}
|
}
|
||||||
|
|
||||||
GPIO_FUNCTION |= 0x40000040;
|
|
||||||
GPIO1_FUNCTION |= 0x00000062;
|
|
||||||
|
|
||||||
IDECONFIG1 = 0x00107000;
|
|
||||||
IDECONFIG2 = 0x00040000;
|
|
||||||
|
|
||||||
/* Hard drive power */
|
|
||||||
GPIO_OUT &= ~0x00000040;
|
|
||||||
GPIO_ENABLE |= 0x00040240;
|
|
||||||
GPIO_FUNCTION |= 0x00040200;
|
|
||||||
|
|
||||||
rc = ata_init();
|
rc = ata_init();
|
||||||
if(rc)
|
if(rc)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue