diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-01 23:39:57 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-01 23:39:57 +0000 |
commit | 293b499093baef544f7148a0fcfa18d28ed3d1ea (patch) | |
tree | d1b7dc73085f2d443a683cd40569ef3d9b558c6e /firmware/target/arm/as3525/ata_sd_as3525.c | |
parent | ccbd8f4f31ec7f2c2ca03d3ac57ccdb28afc132c (diff) | |
download | rockbox-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/arm/as3525/ata_sd_as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index f32e527ff2..4ce14383f0 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c | |||
@@ -495,20 +495,6 @@ int sd_init(void) | |||
495 | return 0; | 495 | return 0; |
496 | } | 496 | } |
497 | 497 | ||
498 | #ifdef STORAGE_GET_INFO | ||
499 | void sd_get_info(IF_MV2(int drive,) struct storage_info *info) | ||
500 | { | ||
501 | #ifndef HAVE_MULTIVOLUME | ||
502 | const int drive=0; | ||
503 | #endif | ||
504 | info->sector_size=card_info[drive].blocksize; | ||
505 | info->num_sectors=card_info[drive].numblocks; | ||
506 | info->vendor="Rockbox"; | ||
507 | info->product = (drive == 0) ? "Internal Storage" : "SD Card Slot"; | ||
508 | info->revision="0.00"; | ||
509 | } | ||
510 | #endif | ||
511 | |||
512 | #ifdef HAVE_HOTSWAP | 498 | #ifdef HAVE_HOTSWAP |
513 | bool sd_removable(IF_MV_NONVOID(int drive)) | 499 | bool sd_removable(IF_MV_NONVOID(int drive)) |
514 | { | 500 | { |