summaryrefslogtreecommitdiff
path: root/firmware/drivers/sd.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-07-17 00:09:14 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-07-17 00:09:14 +0000
commit8eba69f91ba361b49cec5b546496f6251a638c47 (patch)
tree3dc49543ddb1bb7a44a5b1dd2e2beea2ee3a500d /firmware/drivers/sd.c
parent20f8666b89f2ec7290d195732d5dc33d20cf3580 (diff)
downloadrockbox-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/drivers/sd.c')
-rw-r--r--firmware/drivers/sd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/firmware/drivers/sd.c b/firmware/drivers/sd.c
index 4034b9453d..fdc05c73b7 100644
--- a/firmware/drivers/sd.c
+++ b/firmware/drivers/sd.c
@@ -66,19 +66,6 @@ void sd_parse_csd(tCardInfo *card)
66 logf("nsac: %d taac: %d r2w: %d", card->nsac, card->taac, card->r2w_factor); 66 logf("nsac: %d taac: %d r2w: %d", card->nsac, card->taac, card->r2w_factor);
67} 67}
68 68
69void sd_sleep(void)
70{
71}
72
73void sd_spin(void)
74{
75}
76
77void sd_spindown(int seconds)
78{
79 (void)seconds;
80}
81
82#ifdef STORAGE_GET_INFO 69#ifdef STORAGE_GET_INFO
83void sd_get_info(IF_MV2(int drive,) struct storage_info *info) 70void sd_get_info(IF_MV2(int drive,) struct storage_info *info)
84{ 71{