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:
Linus Nielsen Feltzing 2005-02-06 03:27:38 +00:00
parent 9ae46dca9c
commit a0ed6077a4

View file

@ -150,17 +150,6 @@ int main(void)
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();
if(rc)
{