diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-06 03:27:38 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-06 03:27:38 +0000 |
commit | a0ed6077a40562c861bab4725cc56fc50cc37200 (patch) | |
tree | e346aad60a2699677fbc4e52e8c28ac389bb26da /bootloader | |
parent | 9ae46dca9c262a83be88573d02a8f958eaa9af41 (diff) | |
download | rockbox-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.c | 11 |
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) | |||
150 | start_iriver_fw(); | 150 | start_iriver_fw(); |
151 | } | 151 | } |
152 | 152 | ||
153 | GPIO_FUNCTION |= 0x40000040; | ||
154 | GPIO1_FUNCTION |= 0x00000062; | ||
155 | |||
156 | IDECONFIG1 = 0x00107000; | ||
157 | IDECONFIG2 = 0x00040000; | ||
158 | |||
159 | /* Hard drive power */ | ||
160 | GPIO_OUT &= ~0x00000040; | ||
161 | GPIO_ENABLE |= 0x00040240; | ||
162 | GPIO_FUNCTION |= 0x00040200; | ||
163 | |||
164 | rc = ata_init(); | 153 | rc = ata_init(); |
165 | if(rc) | 154 | if(rc) |
166 | { | 155 | { |