diff options
Diffstat (limited to 'firmware/target/arm/ata-sd-pp.c')
-rw-r--r-- | firmware/target/arm/ata-sd-pp.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/firmware/target/arm/ata-sd-pp.c b/firmware/target/arm/ata-sd-pp.c index 9c89c78da8..e1e85b8a92 100644 --- a/firmware/target/arm/ata-sd-pp.c +++ b/firmware/target/arm/ata-sd-pp.c | |||
@@ -1334,27 +1334,6 @@ long sd_last_disk_activity(void) | |||
1334 | return last_disk_activity; | 1334 | return last_disk_activity; |
1335 | } | 1335 | } |
1336 | 1336 | ||
1337 | #ifdef STORAGE_GET_INFO | ||
1338 | void sd_get_info(IF_MV2(int drive,) struct storage_info *info) | ||
1339 | { | ||
1340 | #ifndef HAVE_MULTIVOLUME | ||
1341 | const int drive=0; | ||
1342 | #endif | ||
1343 | info->sector_size=card_info[drive].blocksize; | ||
1344 | info->num_sectors=card_info[drive].numblocks; | ||
1345 | info->vendor="Rockbox"; | ||
1346 | if(drive==0) | ||
1347 | { | ||
1348 | info->product="Internal Storage"; | ||
1349 | } | ||
1350 | else | ||
1351 | { | ||
1352 | info->product="SD Card Slot"; | ||
1353 | } | ||
1354 | info->revision="0.00"; | ||
1355 | } | ||
1356 | #endif | ||
1357 | |||
1358 | #ifdef HAVE_HOTSWAP | 1337 | #ifdef HAVE_HOTSWAP |
1359 | bool sd_removable(IF_MV_NONVOID(int drive)) | 1338 | bool sd_removable(IF_MV_NONVOID(int drive)) |
1360 | { | 1339 | { |