diff options
Diffstat (limited to 'bootloader/iriver_h300.c')
-rw-r--r-- | bootloader/iriver_h300.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bootloader/iriver_h300.c b/bootloader/iriver_h300.c index 9d839aed29..d15efb9b72 100644 --- a/bootloader/iriver_h300.c +++ b/bootloader/iriver_h300.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "scroll_engine.h" | 31 | #include "scroll_engine.h" |
32 | #include "kernel.h" | 32 | #include "kernel.h" |
33 | #include "thread.h" | 33 | #include "thread.h" |
34 | #include "ata.h" | 34 | #include "storage.h" |
35 | #include "usb.h" | 35 | #include "usb.h" |
36 | #include "disk.h" | 36 | #include "disk.h" |
37 | #include "font.h" | 37 | #include "font.h" |
@@ -93,10 +93,10 @@ void shutdown(void) | |||
93 | if (ide_powered()) | 93 | if (ide_powered()) |
94 | { | 94 | { |
95 | /* Make sure ATA has been initialized. */ | 95 | /* Make sure ATA has been initialized. */ |
96 | ata_init(); | 96 | storage_init(); |
97 | 97 | ||
98 | /* And put the disk into sleep immediately. */ | 98 | /* And put the disk into sleep immediately. */ |
99 | ata_sleepnow(); | 99 | storage_sleepnow(); |
100 | } | 100 | } |
101 | 101 | ||
102 | sleep(HZ*2); | 102 | sleep(HZ*2); |
@@ -317,7 +317,7 @@ void main(void) | |||
317 | lcd_remote_update(); | 317 | lcd_remote_update(); |
318 | 318 | ||
319 | ide_power_enable(true); | 319 | ide_power_enable(true); |
320 | ata_enable(false); | 320 | storage_enable(false); |
321 | sleep(HZ/20); | 321 | sleep(HZ/20); |
322 | usb_enable(true); | 322 | usb_enable(true); |
323 | cpu_idle_mode(true); | 323 | cpu_idle_mode(true); |
@@ -328,7 +328,7 @@ void main(void) | |||
328 | remote_line = 0; | 328 | remote_line = 0; |
329 | check_battery(); | 329 | check_battery(); |
330 | 330 | ||
331 | ata_spin(); /* Prevent the drive from spinning down */ | 331 | storage_spin(); /* Prevent the drive from spinning down */ |
332 | sleep(HZ); | 332 | sleep(HZ); |
333 | } | 333 | } |
334 | 334 | ||
@@ -339,7 +339,7 @@ void main(void) | |||
339 | lcd_update(); | 339 | lcd_update(); |
340 | } | 340 | } |
341 | 341 | ||
342 | rc = ata_init(); | 342 | rc = storage_init(); |
343 | if(rc) | 343 | if(rc) |
344 | { | 344 | { |
345 | reset_screen(); | 345 | reset_screen(); |