diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-11-01 16:14:28 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-11-01 16:14:28 +0000 |
commit | 2f8a0081c64534da23fc0fa9cc685eb7454fd9c9 (patch) | |
tree | 84dbdbd5326cb48f43d2ebd5a4c86e992c1d5288 /bootloader/creativezvm.c | |
parent | 646cac0bde7b11fa7bcb670d1d76eec78e360485 (diff) | |
download | rockbox-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 'bootloader/creativezvm.c')
-rw-r--r-- | bootloader/creativezvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/creativezvm.c b/bootloader/creativezvm.c index bd8050b22a..403a8bbdc4 100644 --- a/bootloader/creativezvm.c +++ b/bootloader/creativezvm.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include "lcd.h" | 21 | #include "lcd.h" |
22 | #include "kernel.h" | 22 | #include "kernel.h" |
23 | #include "thread.h" | 23 | #include "thread.h" |
24 | #include "ata.h" | 24 | #include "storage.h" |
25 | #include "ata-target.h" | 25 | #include "ata-target.h" |
26 | #include "disk.h" | 26 | #include "disk.h" |
27 | #include "font.h" | 27 | #include "font.h" |
@@ -64,7 +64,7 @@ void main(void) | |||
64 | printf("Rockbox boot loader"); | 64 | printf("Rockbox boot loader"); |
65 | printf("Version %s", APPSVERSION); | 65 | printf("Version %s", APPSVERSION); |
66 | 66 | ||
67 | ret = ata_init(); | 67 | ret = storage_init(); |
68 | if(ret) | 68 | if(ret) |
69 | printf("ATA error: %d", ret); | 69 | printf("ATA error: %d", ret); |
70 | 70 | ||