From a0ed6077a40562c861bab4725cc56fc50cc37200 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 6 Feb 2005 03:27:38 +0000 Subject: Cleaned up the hardware init in the boot loader git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5810 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/main.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'bootloader') 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) { -- cgit v1.2.3