summaryrefslogtreecommitdiff
path: root/flash/bootbox/main.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-11-01 16:14:28 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-11-01 16:14:28 +0000
commit2f8a0081c64534da23fc0fa9cc685eb7454fd9c9 (patch)
tree84dbdbd5326cb48f43d2ebd5a4c86e992c1d5288 /flash/bootbox/main.c
parent646cac0bde7b11fa7bcb670d1d76eec78e360485 (diff)
downloadrockbox-2f8a0081c64534da23fc0fa9cc685eb7454fd9c9.tar.gz
rockbox-2f8a0081c64534da23fc0fa9cc685eb7454fd9c9.zip
Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*.
This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18960 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash/bootbox/main.c')
-rw-r--r--flash/bootbox/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c
index 2bd3fea115..f53a5edda2 100644
--- a/flash/bootbox/main.c
+++ b/flash/bootbox/main.c
@@ -31,7 +31,7 @@
31#include "lcd.h" 31#include "lcd.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 "disk.h" 35#include "disk.h"
36#include "font.h" 36#include "font.h"
37#include "adc.h" 37#include "adc.h"
@@ -168,7 +168,7 @@ void main(void)
168 } 168 }
169#endif 169#endif
170 170
171 rc = ata_init(); 171 rc = storage_init();
172 if(rc) 172 if(rc)
173 { 173 {
174#ifdef HAVE_LCD_BITMAP 174#ifdef HAVE_LCD_BITMAP
@@ -179,7 +179,7 @@ void main(void)
179 lcd_update(); 179 lcd_update();
180 while(!(button_get(true) & BUTTON_REL)); 180 while(!(button_get(true) & BUTTON_REL));
181#endif 181#endif
182 panicf("ata: %d", rc); 182 panicf("storage: %d", rc);
183 } 183 }
184 184
185 usb_start_monitoring(); 185 usb_start_monitoring();