Cleaned up the hardware init in the boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5810 a1c6a512-1295-4272-9138-f99709370657
diff --git a/bootloader/main.c b/bootloader/main.c
index 11e0f71..aeb470b 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -150,17 +150,6 @@
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)
{