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:
parent
94b6a0be99
commit
19eb800f75
11 changed files with 27 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue