summaryrefslogtreecommitdiffstats
path: root/firmware/export/storage.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-01-15 08:19:30 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-01-15 08:19:30 +0000
commit3a1127785b9f29e526b2ab845efe0a313699c459 (patch)
treec16f2071dcdd1f1388b0216643a8f4a979023b9f /firmware/export/storage.h
parent53db95417dc919a50e55b6f6b1f9852e1bdf8816 (diff)
downloadrockbox-3a1127785b9f29e526b2ab845efe0a313699c459.tar.gz
rockbox-3a1127785b9f29e526b2ab845efe0a313699c459.zip
Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29053 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/storage.h')
-rw-r--r--firmware/export/storage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/storage.h b/firmware/export/storage.h
index faceb2bb96..e9ac8b4cb9 100644
--- a/firmware/export/storage.h
+++ b/firmware/export/storage.h
@@ -112,6 +112,7 @@ static inline void stub_storage_spindown(int timeout) { (void)timeout; }
#define storage_disk_is_active() 0
#define storage_soft_reset() (void)0
#define storage_init() sd_init()
+ #define storage_close() sd_close()
#ifdef HAVE_STORAGE_FLUSH
#define storage_flush() (void)0
#endif