summaryrefslogtreecommitdiff
path: root/bootloader/iaudio_coldfire.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/iaudio_coldfire.c')
-rw-r--r--bootloader/iaudio_coldfire.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootloader/iaudio_coldfire.c b/bootloader/iaudio_coldfire.c
index 8e85dc9deb..0af2f25256 100644
--- a/bootloader/iaudio_coldfire.c
+++ b/bootloader/iaudio_coldfire.c
@@ -30,7 +30,7 @@
30#include "lcd-remote.h" 30#include "lcd-remote.h"
31#include "kernel.h" 31#include "kernel.h"
32#include "thread.h" 32#include "thread.h"
33#include "ata.h" 33#include "storage.h"
34#include "usb.h" 34#include "usb.h"
35#include "disk.h" 35#include "disk.h"
36#include "font.h" 36#include "font.h"
@@ -87,10 +87,10 @@ void shutdown(void)
87 if (ide_powered()) 87 if (ide_powered())
88 { 88 {
89 /* Make sure ATA has been initialized. */ 89 /* Make sure ATA has been initialized. */
90 ata_init(); 90 storage_init();
91 91
92 /* And put the disk into sleep immediately. */ 92 /* And put the disk into sleep immediately. */
93 ata_sleepnow(); 93 storage_sleepnow();
94 } 94 }
95 95
96 sleep(HZ*2); 96 sleep(HZ*2);
@@ -192,7 +192,7 @@ void main(void)
192 192
193 check_battery(); 193 check_battery();
194 194
195 rc = ata_init(); 195 rc = storage_init();
196 if(rc) 196 if(rc)
197 { 197 {
198 printf("ATA error: %d", rc); 198 printf("ATA error: %d", rc);