diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-17 00:09:14 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-17 00:09:14 +0000 |
commit | 8eba69f91ba361b49cec5b546496f6251a638c47 (patch) | |
tree | 3dc49543ddb1bb7a44a5b1dd2e2beea2ee3a500d /firmware/export/nand.h | |
parent | 20f8666b89f2ec7290d195732d5dc33d20cf3580 (diff) | |
download | rockbox-8eba69f91ba361b49cec5b546496f6251a638c47.tar.gz rockbox-8eba69f91ba361b49cec5b546496f6251a638c47.zip |
Storage API : remove undeeded target-specific functions
storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD
remove already unneeded nand_disk_is_active, nand_soft_reset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/nand.h')
-rw-r--r-- | firmware/export/nand.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/export/nand.h b/firmware/export/nand.h index a5b0a1ceee..64416b9de5 100644 --- a/firmware/export/nand.h +++ b/firmware/export/nand.h | |||
@@ -28,15 +28,12 @@ | |||
28 | struct storage_info; | 28 | struct storage_info; |
29 | 29 | ||
30 | void nand_enable(bool on); | 30 | void nand_enable(bool on); |
31 | void nand_spindown(int seconds); | ||
32 | void nand_sleep(void); | ||
33 | bool nand_disk_is_active(void); | 31 | bool nand_disk_is_active(void); |
34 | int nand_soft_reset(void); | 32 | int nand_soft_reset(void); |
35 | int nand_init(void); | 33 | int nand_init(void); |
36 | void nand_close(void); | 34 | void nand_close(void); |
37 | int nand_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf); | 35 | int nand_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf); |
38 | int nand_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); | 36 | int nand_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); |
39 | void nand_spin(void); | ||
40 | 37 | ||
41 | #ifdef STORAGE_GET_INFO | 38 | #ifdef STORAGE_GET_INFO |
42 | void nand_get_info(IF_MV2(int drive,) struct storage_info *info); | 39 | void nand_get_info(IF_MV2(int drive,) struct storage_info *info); |