forked from len0rd/rockbox
sd-as3525v2: sd_get_info() is already in common SD code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25243 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9c159c5d67
commit
fb6a5431f2
1 changed files with 0 additions and 11 deletions
|
|
@ -642,17 +642,6 @@ int sd_init(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef STORAGE_GET_INFO
|
|
||||||
void sd_get_info(struct storage_info *info)
|
|
||||||
{
|
|
||||||
info->sector_size=card_info[drive].blocksize;
|
|
||||||
info->num_sectors=card_info[drive].numblocks;
|
|
||||||
info->vendor="Rockbox";
|
|
||||||
info->product = "Internal Storage";
|
|
||||||
info->revision="0.00";
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int sd_wait_for_state(const int drive, unsigned int state)
|
static int sd_wait_for_state(const int drive, unsigned int state)
|
||||||
{
|
{
|
||||||
unsigned long response;
|
unsigned long response;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue