summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-02-06 03:27:38 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-02-06 03:27:38 +0000
commita0ed6077a40562c861bab4725cc56fc50cc37200 (patch)
treee346aad60a2699677fbc4e52e8c28ac389bb26da /bootloader
parent9ae46dca9c262a83be88573d02a8f958eaa9af41 (diff)
downloadrockbox-a0ed6077a40562c861bab4725cc56fc50cc37200.tar.gz
rockbox-a0ed6077a40562c861bab4725cc56fc50cc37200.zip
Cleaned up the hardware init in the boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5810 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/main.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/bootloader/main.c b/bootloader/main.c
index 11e0f71801..aeb470b658 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -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)
{