1
0
Fork 0
forked from len0rd/rockbox

conditionalise *_get_info() to get some binsize back

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18965 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-11-01 17:33:21 +00:00
parent 94b6a0be99
commit 19eb800f75
11 changed files with 27 additions and 0 deletions

View file

@ -714,6 +714,7 @@ int nand_write_sectors(IF_MV2(int drive,) unsigned long start, int count,
return -1;
}
#ifdef STORAGE_GET_INFO
void nand_get_info(struct storage_info *info)
{
/* firmware version */
@ -727,6 +728,7 @@ void nand_get_info(struct storage_info *info)
* page_size * total_banks;
info->sector_size=SECTOR_SIZE;
}
#endif
int nand_init(void)
{