diff options
Diffstat (limited to 'firmware/target/mips')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c | 18 |
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 | ||
1748 | void 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 | ||