summaryrefslogtreecommitdiff
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.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))
1743#endif 1743#endif
1744 return (sdinfo.block_num > 0 && card_detect_target()); 1744 return (sdinfo.block_num > 0 && card_detect_target());
1745} 1745}
1746
1747#ifdef STORAGE_GET_INFO
1748void sd_get_info(IF_MV2(int drive,) struct storage_info *info)
1749{
1750#ifdef HAVE_MULTIVOLUME
1751 (void)drive;
1752#endif
1753 /* firmware version */
1754 info->revision="0.00";
1755
1756 info->vendor="Rockbox";
1757 info->product="SD Storage";
1758
1759 /* blocks count */
1760 info->num_sectors = sdinfo.block_num;
1761 info->sector_size = sdinfo.block_len;
1762}
1763#endif