summaryrefslogtreecommitdiff
path: root/bootloader/iriver_h1x0.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/iriver_h1x0.c')
-rw-r--r--bootloader/iriver_h1x0.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c
index 7f051bccb5..83e545540b 100644
--- a/bootloader/iriver_h1x0.c
+++ b/bootloader/iriver_h1x0.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"
@@ -148,10 +148,10 @@ void shutdown(void)
148 if (ide_powered()) 148 if (ide_powered())
149 { 149 {
150 /* Make sure ATA has been initialized. */ 150 /* Make sure ATA has been initialized. */
151 ata_init(); 151 storage_init();
152 152
153 /* And put the disk into sleep immediately. */ 153 /* And put the disk into sleep immediately. */
154 ata_sleepnow(); 154 storage_sleepnow();
155 } 155 }
156 156
157 sleep(HZ*2); 157 sleep(HZ*2);
@@ -560,7 +560,7 @@ void main(void)
560 } 560 }
561#endif 561#endif
562 ide_power_enable(true); 562 ide_power_enable(true);
563 ata_enable(false); 563 storage_enable(false);
564 sleep(HZ/20); 564 sleep(HZ/20);
565 usb_enable(true); 565 usb_enable(true);
566 cpu_idle_mode(true); 566 cpu_idle_mode(true);
@@ -571,7 +571,7 @@ void main(void)
571 remote_line = 0; 571 remote_line = 0;
572 check_battery(); 572 check_battery();
573 573
574 ata_spin(); /* Prevent the drive from spinning down */ 574 storage_spin(); /* Prevent the drive from spinning down */
575 sleep(HZ); 575 sleep(HZ);
576 576
577 /* Backlight OFF */ 577 /* Backlight OFF */
@@ -585,7 +585,7 @@ void main(void)
585 lcd_update(); 585 lcd_update();
586 } 586 }
587 587
588 rc = ata_init(); 588 rc = storage_init();
589 if(rc) 589 if(rc)
590 { 590 {
591 reset_screen(); 591 reset_screen();