From 2f8a0081c64534da23fc0fa9cc685eb7454fd9c9 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sat, 1 Nov 2008 16:14:28 +0000 Subject: 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 --- apps/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index 50597699c5..111c5d1e78 100644 --- a/apps/main.c +++ b/apps/main.c @@ -20,7 +20,7 @@ ****************************************************************************/ #include "config.h" -#include "ata.h" +#include "storage.h" #include "disk.h" #include "fat.h" #include "lcd.h" @@ -289,7 +289,7 @@ static void init(void) #endif /* Must be done before any code uses the multi-screen APi */ gui_syncstatusbar_init(&statusbars); - ata_init(); + storage_init(); settings_reset(); settings_load(SETTINGS_ALL); gui_sync_wps_init(); @@ -427,7 +427,7 @@ static void init(void) } #endif - rc = ata_init(); + rc = storage_init(); if(rc) { #ifdef HAVE_LCD_BITMAP -- cgit v1.2.3