summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-07-01 23:39:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-07-01 23:39:57 +0000
commit293b499093baef544f7148a0fcfa18d28ed3d1ea (patch)
treed1b7dc73085f2d443a683cd40569ef3d9b558c6e /firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
parentccbd8f4f31ec7f2c2ca03d3ac57ccdb28afc132c (diff)
downloadrockbox-293b499093baef544f7148a0fcfa18d28ed3d1ea.tar.gz
rockbox-293b499093baef544f7148a0fcfa18d28ed3d1ea.tar.bz2
rockbox-293b499093baef544f7148a0fcfa18d28ed3d1ea.zip
Move sd_get_info() into common sd code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
index 957db2af0e..c48ee0be73 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
@@ -1743,21 +1743,3 @@ bool sd_present(IF_MV_NONVOID(int drive))
#endif
return (sdinfo.block_num > 0 && card_detect_target());
}
-
-#ifdef STORAGE_GET_INFO
-void sd_get_info(IF_MV2(int drive,) struct storage_info *info)
-{
-#ifdef HAVE_MULTIVOLUME
- (void)drive;
-#endif
- /* firmware version */
- info->revision="0.00";
-
- info->vendor="Rockbox";
- info->product="SD Storage";
-
- /* blocks count */
- info->num_sectors = sdinfo.block_num;
- info->sector_size = sdinfo.block_len;
-}
-#endif